Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
Sharding EMEA
-
Fully Compatible
-
Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26
-
3
Description
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.