-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding EMEA
-
Fully Compatible
-
Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26
-
3
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The getCollectionVersion method performs a query on config.collections before getting the version.
When committing chunk operations, the call is preceded or followed by the exact same query (e.g. when committing a merge).
Objective of this ticket is to optimize the flow by allowing passing a CollectionEntry to the method in order to avoid executing the same query two times.