[SERVER-16992] Add failpoints that raise WriteConflictException in WiredTiger storage engine Created: 22/Jan/15  Updated: 18/Sep/15  Resolved: 03/Mar/15

Status: Closed
Project: Core Server
Component/s: Storage, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.0.0-rc6

Type: Task Priority: Critical - P2
Reporter: Andy Schwerin Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-17006 Support "random" failpoint activation Closed
Related
is related to SERVER-17008 Change write conflict exception gener... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

To improve coverage of rollback/write conflict code throughout the server, add a failpoint to the WiredTiger storage engine that causes some percentage of write operations to throw WriteConflictException. Then, add a flag to smoke.py and change the test support libraries appropriately (ReplSetTest, ShardingTest, startMongoProgram) to set that failpoint in all mongods running under test.



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

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-16992 Add failpoints to throw WT_ROLLBACK

For the WT record store and indexes.

Also reverts commit 8e54b64c1d9b47579401411585ea1dfe209cddf9.

(cherry picked from commit 4f510d62cbf9201291910887ee733bde4d7877a1)
Branch: v3.0
https://github.com/mongodb/mongo/commit/797afb0ef9d29611c7d5ec28ea479616a058f14c

Comment by Githook User [ 23/Jan/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-16992 Add failpoints to throw WT_ROLLBACK

For the WT record store and indexes.

Also reverts commit 8e54b64c1d9b47579401411585ea1dfe209cddf9.
Branch: master
https://github.com/mongodb/mongo/commit/4f510d62cbf9201291910887ee733bde4d7877a1

Comment by Githook User [ 22/Jan/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-16992 Add failpoint to cause WT_ROLLBACK
Branch: master
https://github.com/mongodb/mongo/commit/8e54b64c1d9b47579401411585ea1dfe209cddf9

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