[SERVER-43008] Invariant that a catalog document is never written with 'multikey' false and non-empty 'multikeyPaths' Created: 23/Aug/19 Updated: 29/Oct/23 Resolved: 26/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 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 | ||||
| Sprint: | Execution Team 2019-08-26 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
In DurableCatalog::putMetadata, add an invariant that 'multikey' must be true when there are 'multikeyPaths' present. This would eliminate (or identify) a class of bugs that could exist in this scenario, which should never happen. |
| Comments |
| Comment by Githook User [ 25/Sep/19 ] |
|
Author: {'name': 'Mathew Robinson', 'username': 'chasinglogic', 'email': 'mathew.robinson@mongodb.com'}Message: |
| Comment by Githook User [ 26/Aug/19 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |