[SERVER-41477] The invariant that hybrid index writes recorded matches the number applied should be debug-only Created: 03/Jun/19  Updated: 29/Oct/23  Resolved: 07/Jun/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.0-rc3, 4.3.1

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

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2019-06-17
Participants:
Linked BF Score: 20

 Description   

When this invariant fails, which indicates more writes were applied to an index than recorded, it would be helpful to see what the resulting index and collection data is instead of crashing.

Make this invariant debug-only. If this is a real bug, the collection validation hooks should fail in non-debug tests.



 Comments   
Comment by Githook User [ 03/Jul/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-41477 The invariant that hybrid index writes recorded matches the number applied should be debug-only

(cherry picked from commit c75dce32fa936f4e2b4a89a566007d4404a232dc)
Branch: v4.2
https://github.com/mongodb/mongo/commit/5b5fecc0094b84379db26bed19d90aeccdd164b2

Comment by Githook User [ 07/Jun/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-41477 The invariant that hybrid index writes recorded matches the number applied should be debug-only
Branch: master
https://github.com/mongodb/mongo/commit/c75dce32fa936f4e2b4a89a566007d4404a232dc

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