Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
7.6.0
-
None
-
Untriaged
-
0
-
Unknown
Description
Found this possibility during code inspection.
In the current code, if there are any indexes that require alternate shardIds, then planner will filter solution and populate alternate shardIds.
After filter solution, if the indexes in "needsNewAlternateShardIds" are not moving, then they can be filtered out. This will prevent unnecessary creation of shards.
Note: This is only a minor performance improvement. Functionally, there will not be any impact even in Trinity.