After a shard is removed, db.collection.stats() still shows the removed shard

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.9, 2.5.5
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Steps to reproduce:

      1. Start a sharded cluster with 2 shards
      2. Shard a collection and insert documents to that collection.
      3. db.collection.stats() shows 2 shards
      4. Connect to a mongos and remove a shard
      5. db.collection.stats() still shows 2 shards
      6. flushRouterConfig fixes the issue. The shard being removed is not showing in the output of db.collection.stats() any more.

              Assignee:
              Unassigned
              Reporter:
              Linda Qin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: