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

movePrimary leaves garbage on old db primary for tracked collections

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 7.3.0-rc0, 8.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • ALL
    • 3

      The movePrimary operations does not clean the local catalog of the donor shard (old database primary) for tracked collections, it does it only for untracked collection.

      So if the old primary doesn't own any chunk for a specific collection, the movePrimary operations will leave the collection metadata in the local catalog for that shard.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: