[SERVER-17103] dropDatabase silently doesn't drop the database if a WT_ROLLBACK happens Created: 28/Jan/15  Updated: 06/Dec/22  Resolved: 06/Oct/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.0.0-rc7
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Backlog - Storage Execution Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 Description   

> 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") }



 Comments   
Comment by Eric Milkie [ 06/Oct/17 ]

No longer reproduces as of 3.5.14.

Generated at Thu Feb 08 03:43:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.