Unreplicated collections are checked as part of removeShard

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.0.0, 8.2.0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      As part of removeShard we perform a series of checks such that there is no user data left in the database that we just moved.

      However, these checks do not take into account that some collections inside the database are actually unreplicated and thus node-local. This is the case of the <DB>.system.profile collection.

      As a result, having that collection present on the primary shard for a database and attempting to remove the shard will result in the process hanging indefinitely.

            Assignee:
            Unassigned
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: