-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
moveCollection throws an error when trying to rewrite the collection back to the same shard the data is on if it is run on a 1 shard cluster.
rewriteCollection command (SERVER-83289) should be used to rewrite the collection back the same shard.
We should always return
{ok: 1}for moveCollection if the collection is in goal state like we do in case of a multi shard cluster (see below).
- is related to
-
SERVER-83289 Add a rewriteCollection command to avoid the confusion of "reshard back to the same shard key"
-
- Backlog
-
- related to
-
SERVER-83289 Add a rewriteCollection command to avoid the confusion of "reshard back to the same shard key"
-
- Backlog
-