A collection exists but the field "dropped" in "config.collections" is true

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.1
    • Affects Version/s: 1.6.2
    • Component/s: Sharding
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Please follow this steps:

      use config
      db.collections.find()
      use admin
      db.runCommand(

      {enablesharding: "ching"}

      )
      db.runCommand({shardCollection: "ching.stew", key: {"_id":1}})
      use ching
      db.dropDatabase()
      use admin
      db.runCommand(

      {enablesharding: "ching"}

      )
      db.runCommand({shardCollection: "ching.stew", key: {"_id":1}})
      use config
      db.collections.find()
      use ching
      show collections

              Assignee:
              Alberto Lerner (Inactive)
              Reporter:
              Che-Ching Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: