[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: |
|
||||||||
| 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: (cherry picked from commit c75dce32fa936f4e2b4a89a566007d4404a232dc) |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |