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

Unable to drop collection in admin database of sharded cluster

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Steps To Reproduce:
      Hide

      ~$ mlaunch init --sharded 1 --replicaset --binarypath ./Downloads/mongodb-macos-x86_64-enterprise-4.3.0-824-g12c28db/bin
      ~$ mongo
      MongoDB shell version v4.2.0
      connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
      Implicit session: session { "id" : UUID("b1e26e37-36d6-4f3f-a0d5-ff9c1abff5dd") }
      MongoDB server version: 4.3.0-824-g12c28db
      MongoDB Enterprise mongos> use admin
      switched to db admin
      MongoDB Enterprise mongos> db.test.insert({_id: 1})
      WriteResult({ "nInserted" : 1 })
      MongoDB Enterprise mongos> db.test.drop()
      true
      MongoDB Enterprise mongos> show collections
      system.keys
      system.version
      test
      MongoDB Enterprise mongos> db.test.find()
      { "_id" : 1 }
      

      Show
      ~$ mlaunch init --sharded 1 --replicaset --binarypath ./Downloads/mongodb-macos-x86_64-enterprise-4.3.0-824-g12c28db/bin ~$ mongo MongoDB shell version v4.2.0 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("b1e26e37-36d6-4f3f-a0d5-ff9c1abff5dd") } MongoDB server version: 4.3.0-824-g12c28db MongoDB Enterprise mongos> use admin switched to db admin MongoDB Enterprise mongos> db.test.insert({_id: 1}) WriteResult({ "nInserted" : 1 }) MongoDB Enterprise mongos> db.test.drop() true MongoDB Enterprise mongos> show collections system.keys system.version test MongoDB Enterprise mongos> db.test.find() { "_id" : 1 }
    • Sprint:
      Sharding 2019-08-26, Sharding 2019-09-09, Sharding 2019-09-23

      Description

      I'm unable to drop a collection in the admin database of a sharded cluster. This is affecting the ability to execute some driver tests which write to this database.

      The behavioral change occurred between v4.3.0-769-g81bb59c and v4.3.0-814-gb92fbdf.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              esha.maharishi Esha Maharishi
              Reporter:
              jeff.yemin Jeffrey Yemin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: