[SERVER-55146] Bump collection version on any modification of config.collections reshardingFields or allowMigrations fields Created: 11/Mar/21 Updated: 29/Oct/23 Resolved: 18/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-Catalog-Work | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Any modification of config.collections 'reshardingFields' or 'allowMigrations' field should, in a txn, also bump the collection version. Otherwise, this invariant can be tripped. Additionally, this comparison (which is used in the invariant mentioned above) is wrong and needs to be fixed. |
| Comments |
| Comment by Githook User [ 18/Mar/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |