[DOCS-12179] Docs for SERVER-29825: Do not allow rename from unreplicated to replicated DB or vice-versa Created: 01/Nov/18  Updated: 13/Nov/23  Resolved: 25/Feb/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.5, 4.0.5, 3.6.10, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29825 Do not allow rename from unreplicated... Closed
Participants:
Days since reply: 4 years, 50 weeks, 2 days ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

Probably worth making a quick note of this restriction

Engineering Ticket Description:

We currently allow renameCollection from the "local" database to a replicated database. This doesn't make a lot of sense; the local collections may be different on each replica, so doing so will result in an inconsistent set.

We also allow renameCollection from a replicated DB to an unreplicated one; this usually works but will cause problems if the local collection exists and dropExisting isn't specified.

Scope of changes

  • Will add to renameCollection command behavior (but without version) (shell method cannot rename to a different database - so no change there)

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12179: rename and local db restrictions
Branch: v3.2
https://github.com/mongodb/docs/commit/ea4534e149f4b1be39a99b4f9971dc1d08b3247a

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12179: rename and local db restrictions
Branch: v3.4
https://github.com/mongodb/docs/commit/a030b34424396fee7f72010011b7db4feb978a41

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12179: rename and local db restrictions
Branch: v3.6
https://github.com/mongodb/docs/commit/0da23c25c38ecb433bb79bcd5cf4513d66808c29

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12179: rename and local db restrictions
Branch: v4.0
https://github.com/mongodb/docs/commit/7fe030b5d1adce75675fbbc009250f2499a34c73

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-12179: rename and local db restrictions
Branch: master
https://github.com/mongodb/docs/commit/e2915d0ca3256a3355f953cf7080815ebdbabaaa

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