[SERVER-40547] change handling of nextNotIncreasing to crash when test commands are enabled Created: 09/Apr/19  Updated: 29/Oct/23  Resolved: 26/Apr/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-40818 exhaust_cursor_currentop_integration_... Closed
Related
is related to SERVER-41311 Invariant that restore() is called on... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-05-06
Participants:
Linked BF Score: 18

 Description   

Currently in the two places that we detect nextNotIncreasing, we throw WCE. I'd like to have the process crash in our tests so that we could detect this situation effectively.
https://github.com/mongodb/mongo/blob/9f40ea669153868ee1df20ff8952b4f264198ce1/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp#L1093
https://github.com/mongodb/mongo/blob/9f40ea669153868ee1df20ff8952b4f264198ce1/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L1877



 Comments   
Comment by Githook User [ 26/Apr/19 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-40547 Change handling of nextNotIncreasing to crash when test commands are enabled
Branch: master
https://github.com/mongodb/mongo/commit/93dd23880759430872510ef0b539e746192e44e2

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