[SERVER-39193] Invariant instead of throwing WCE if locked incorrectly for reading oplog Created: 25/Jan/19  Updated: 29/Oct/23  Resolved: 30/Jan/19

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 4.1.8

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-01-28, Storage NYC 2019-02-11
Participants:

 Description   

The WriteConflictException should never be throw in https://github.com/mongodb/mongo/blob/bbe09aa5e0966ada5232ffbcb098efdd78b4f24e/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L2063-L2066 and https://github.com/mongodb/mongo/blob/bbe09aa5e0966ada5232ffbcb098efdd78b4f24e/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L2116-L2119, so invariant instead.



 Comments   
Comment by Githook User [ 30/Jan/19 ]

Author:

{'username': 'GeertBosch', 'email': 'geert@mongodb.com', 'name': 'Geert Bosch'}

Message: SERVER-39193 Invariant instead of throwing WCE if locked incorrectly for reading oplog
Branch: master
https://github.com/mongodb/mongo/commit/d6b229e0f926e5a36758b811e284daf3b116ea08

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