[SERVER-53867] Add/Remove timestamp to docs on config.chunks when upgrading/downgrading Created: 19/Jan/21 Updated: 29/Oct/23 Resolved: 21/Jan/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Sergi Mateo Bellido |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1965-Milestone-0-Metadata-Format | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2021-01-25 | ||||||||
| Participants: | |||||||||
| Description |
|
Each document on config.chunks has its own ChunkVersion. Since we extended the definition of ChunkVersion to include a timestamp, when we are upgrading/downgrading we have to properly handle it. On upgrade we should add to all docs on config.chunks the same timestamp that we are adding to config.collections. On Downgrade we have to get rid of it, as we do in config.collections. |
| Comments |
| Comment by Githook User [ 21/Jan/21 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |