[SERVER-43236] Reconfig cmd should wrap the no-op oplog write in writeConflictRetry block. Created: 09/Sep/19  Updated: 29/Oct/23  Resolved: 24/Oct/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Ali Mir
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Repl 2019-10-21, Repl 2019-11-04
Participants:
Linked BF Score: 19

 Description   

Currently, reconfig cmd does not wrap the  no-op oplog write write in a writeConflictRetry block. It's always safe to wrap any writes to a record store in a writeConflictRetry block because writeConflict exception can be thrown in the mongodb layer even for some memory pressure/issues in WiredTiger.



 Comments   
Comment by Githook User [ 06/Nov/19 ]

Author:

{'username': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'name': 'Ali Mir'}

Message: SERVER-43236 Wrap reconfig cmd no-op oplog write in writeConflictRetry block

(cherry picked from commit 55e80afa2d511b9bd1a316d3fd4cb6185baa829b)
Branch: v3.6
https://github.com/mongodb/mongo/commit/43f4a99347f17c73b9502cba88e4214a28a0005d

Comment by Githook User [ 06/Nov/19 ]

Author:

{'name': 'Ali Mir', 'username': 'ali-mir', 'email': 'ali.mir@mongodb.com'}

Message: SERVER-43236 Wrap reconfig cmd no-op oplog write in writeConflictRetry block

(cherry picked from commit 55e80afa2d511b9bd1a316d3fd4cb6185baa829b)
Branch: v4.0
https://github.com/mongodb/mongo/commit/0d5240e8af0e9aa7c29c45138f6054c761a2a178

Comment by Githook User [ 05/Nov/19 ]

Author:

{'username': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'name': 'Ali Mir'}

Message: SERVER-43236 Wrap reconfig cmd no-op oplog write in writeConflictRetry block

(cherry picked from commit 55e80afa2d511b9bd1a316d3fd4cb6185baa829b)
Branch: v4.2
https://github.com/mongodb/mongo/commit/614a240344fbab759fe1bf83276ae5b68e9ff3ba

Comment by Githook User [ 24/Oct/19 ]

Author:

{'name': 'Ali Mir', 'username': 'ali-mir', 'email': 'ali.mir@mongodb.com'}

Message: SERVER-43236 Wrap reconfig cmd no-op oplog write in writeConflictRetry block
Branch: master
https://github.com/mongodb/mongo/commit/55e80afa2d511b9bd1a316d3fd4cb6185baa829b

Generated at Thu Feb 08 05:02:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.