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

dropDatabase silently doesn't drop the database if a WT_ROLLBACK happens

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0-rc7
    • Component/s: Storage
    • None
    • Storage Execution
    • ALL

      > db.adminCommand({'configureFailPoint': 'WTWriteConflictException', mode: { activationProbability: 0.25 }})
      { "ok" : 1 }
      > db.dropDatabase(); db.fun_times.save({});  db.fun_times.find()
      { "_id" : ObjectId("54c96a1243296b6fd24cfc9b") }
      > db.dropDatabase(); db.fun_times.save({});  db.fun_times.find()
      { "_id" : ObjectId("54c96a1243296b6fd24cfc9b") }
      { "_id" : ObjectId("54c96a1443296b6fd24cfc9c") }
      > db.dropDatabase(); db.fun_times.save({});  db.fun_times.find()
      { "_id" : ObjectId("54c96a1243296b6fd24cfc9b") }
      { "_id" : ObjectId("54c96a1443296b6fd24cfc9c") }
      { "_id" : ObjectId("54c96a1443296b6fd24cfc9d") }
      > db.dropDatabase(); db.fun_times.save({});  db.fun_times.find()
      { "_id" : ObjectId("54c96a1243296b6fd24cfc9b") }
      { "_id" : ObjectId("54c96a1443296b6fd24cfc9c") }
      { "_id" : ObjectId("54c96a1443296b6fd24cfc9d") }
      { "_id" : ObjectId("54c96a1543296b6fd24cfc9e") }
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: