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

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

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

      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 Unassigned
            Reporter:
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: