-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.0.0, Backlog
-
Component/s: Sharding
-
Fully Compatible
-
v5.0
-
Sharding EMEA 2021-05-31
In the create collection coordinator we perform a preliminary check to see if the collection has been already shareded. In fact the collection could have been already sharded previously by either another shard collection execution.
After acquiring the collection critical section we perform again the very same check, this shouldn't be necessary because no-one else except for the running coordinator could possibly shard the collection.
The goal of this ticket is to remove completely the second check that is redundant.