[DOCS-14469] Investigate changes in SERVER-56296: Uniform `fromNss == toNss` rename behavior between rs and sharded cluster Created: 19/May/21  Updated: 13/Nov/23  Resolved: 12/Oct/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Naomi Pentrel (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by DOCS-14499 [BACKPORT] [v5.0] Uniform `fromNss ==... Closed
Documented
documents SERVER-56296 Uniform `fromNss == toNss` rename beh... Closed
Participants:
Days since reply: 2 years, 17 weeks, 1 day ago
Epic Link: DOCSP-14300

 Description   

Description

Downstream Change Summary

Just for the record, don't know if the corner case was taken into account previously.

If a user tries to rename a collection to itself, starting from now an IllegalOperation is thrown. Before, a misleading NamespaceNotFound exception was thrown.

Description of Linked Ticket

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.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 12/Oct/21 ]

Author:

{'name': 'Naomi Pentrel', 'email': '5212232+npentrel@users.noreply.github.com', 'username': 'npentrel'}

Message: DOCS-14469: Address rename behaviour
Branch: v5.0
https://github.com/mongodb/docs/commit/64e21f4ea6e5c649c67e7c1dc123f3519b19b44f

Comment by Githook User [ 12/Oct/21 ]

Author:

{'name': 'Naomi Pentrel', 'email': '5212232+npentrel@users.noreply.github.com', 'username': 'npentrel'}

Message: DOCS-14469: Address rename behaviour
Branch: master
https://github.com/mongodb/docs/commit/332e99c48af462dcda1c90fbae639da86b9b06f2

Comment by Naomi Pentrel (Inactive) [ 11/Oct/21 ]

CR: https://mongodbcr.appspot.com/834460001/

Generated at Thu Feb 08 08:10:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.