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

TenantMigrationAccessBlockerRegistry::_remove doesn't remove when both mtabs are present

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-09-20, Repl 2021-10-04
    • 132

          auto mtabPair = it->second;
          mtabPair.clearAccessBlocker(type);
      

      creates a copy of the mtabPair and then clears the access blocker on the copy. It then goes and removes the entire pair if both are removed, but that might not be the case.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: