[SERVER-17053] drop and dropIndexes commands should not return WriteConflict error to users Created: 26/Jan/15  Updated: 18/Sep/15  Resolved: 26/Jan/15

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

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-17044 WriteConflict in dropIndexes on WT Closed
Related
is related to SERVER-17061 create, createIndex, and dropDatabase... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Commands to drop collections and indexes should retry internally on write conflict, not return an error to the end user.



 Comments   
Comment by Githook User [ 27/Jan/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-17053 restart transaction on WCE retry

(cherry picked from commit c91e229849d0ccae92a51ebed6b7c2849ba2d03b)
Branch: v3.0
https://github.com/mongodb/mongo/commit/486bc193e4d8714eb3da0bd4896427350cf9c6d5

Comment by Githook User [ 27/Jan/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-17053 restart transaction on WCE retry
Branch: master
https://github.com/mongodb/mongo/commit/c91e229849d0ccae92a51ebed6b7c2849ba2d03b

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Macros to wrap up the write conflict retry loop behaviors.

(cherry picked from commit cc75adbbc5da7ba8f5d6046102f8226bb9e3d96b)
Branch: v3.0
https://github.com/mongodb/mongo/commit/4bbd77493be7cecc2160e60c6e38abf7c446ec69

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Make dropIndexes retry on write conflicts.

(cherry picked from commit 86cbecf2dfe16d89fc50d54f1ac4c8655878be6c)
Branch: v3.0
https://github.com/mongodb/mongo/commit/ff290ab7ad9f0d66673b00c7aa3e825e417d4632

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Let WriteConflictException (and others) bubble up out of Database::dropCollection.

(cherry picked from commit 5e6ab7e206e72e69603c8ac8a6b77c3e5f4637d3)
Branch: v3.0
https://github.com/mongodb/mongo/commit/0a66571b193c2e387d5dc376e68989526298394f

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Make drop command retry on write conflicts.

(cherry picked from commit ba5548fb1c0b78d34333af049a00ea4965362e3b)
Branch: v3.0
https://github.com/mongodb/mongo/commit/8e7b584364fb9fc3f51d179adddc63c9ab62f1d9

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Macros to wrap up the write conflict retry loop behaviors.
Branch: master
https://github.com/mongodb/mongo/commit/cc75adbbc5da7ba8f5d6046102f8226bb9e3d96b

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Make dropIndexes retry on write conflicts.
Branch: master
https://github.com/mongodb/mongo/commit/86cbecf2dfe16d89fc50d54f1ac4c8655878be6c

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Let WriteConflictException (and others) bubble up out of Database::dropCollection.
Branch: master
https://github.com/mongodb/mongo/commit/5e6ab7e206e72e69603c8ac8a6b77c3e5f4637d3

Comment by Githook User [ 26/Jan/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17053 Make drop command retry on write conflicts.
Branch: master
https://github.com/mongodb/mongo/commit/ba5548fb1c0b78d34333af049a00ea4965362e3b

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