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

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

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

      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:
            alerner Alberto Lerner
            Reporter:
            stewwu Che-Ching Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: