[SERVER-71615] Add top-level `onCurrentShardSince` field to `config.chunk` entries Created: 25/Nov/22 Updated: 29/Oct/23 Resolved: 21/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Silvia Surroca |
| 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: | Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 161 | ||||||||||||||||||||||||
| Description |
|
The history field on config.chunks holds an array of objects in the following format:
The auto-merger will be expected to act based on the value of the higher validAfter present in the history, but indexing arrays can be much more inefficient than indexing top-level fields. In order to avoid performance issues, purpose of this ticket is to add the same field also at the top-level. |
| Comments |
| Comment by Githook User [ 21/Dec/22 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |