[SERVER-56296] Uniform `fromNss == toNss` rename behavior between rs and sharded cluster Created: 23/Apr/21  Updated: 29/Oct/23  Resolved: 19/May/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14469 Investigate changes in SERVER-56296: ... Closed
Problem/Incident
causes SERVER-57082 Check for NamespaceNotFound when rena... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-05-17, Sharding EMEA 2021-05-31
Participants:

 Description   

If the collection exists, the collection version must be returned in a best-effort fashion, without acquiring any lock.

If the collection exists but dropTarget=true, an `IllegalOptions` error must be returned.

If the collection doesn't exist, a `NamespaceNotFound` error is already thrown both in case of RS or sharded cluster.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 25/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-56296 Uniform `fromNss == toNss` rename behavior between rs and sharded cluster (BACKPORT-9277)
Branch: v5.0
https://github.com/mongodb/mongo/commit/4ecefa35cd3d65358a65293c83d75a356ff9039b

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-56296 Uniform `fromNss == toNss` rename behavior between rs and sharded cluster
Branch: master
https://github.com/mongodb/mongo/commit/31f3ac2f55f528581cdd0ceb993ec514009a7088

Generated at Thu Feb 08 05:38:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.