-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26
-
161
The history field on config.chunks holds an array of objects in the following format:
{validAfter: Timestamp(12345), shard: "shardName"}
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.
- causes
-
SERVER-72360 Make sure `history` ChunkType field is not empty when `onConcurrentShardSince` exists
- Closed
- is depended on by
-
SERVER-71616 Add `onCurrentShardSince` top-level field to `config.chunk` entries on upgrade
- Closed
-
SERVER-71617 Remove `validAfter` top-level field from `config.chunk` entries on downgrade
- Closed
-
SERVER-72283 Take into account mergeability constraints in` mergeAllChunksOnShard`
- Closed