[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: |