Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-98706

Interrupted addShard may incorrectly remove RSM after change is persisted

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-12-23, CAR Team 2025-01-06
    • 0

      addShard has a scope guard that removes the newly created RSM in case of unexpected exception. However, the scope extends past the transaction to config.shards commits. An interruption past that point incorrectly causes the RSM to be removed.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: