Details
Description
In SERVER-66744 we did a first attempt to fix this. Unfortunately the returned errors are not always the same between sharded cluster and replicaset.
In particular in sharded clusters renaming a collection to a namespace for which already exists a view should return NamespaceExists instead of CommandNotSupportedOnView.
Moreover test cases for this should be placed in a core test rather than sharding/rename.js since the bheaviour should be exactly the same between replicaset and sharded cluster.
Attachments
Issue Links
- is related to
-
SERVER-66744 Renaming view return wrong error on sharded cluster
-
- Closed
-