[DOCS-12950] Investigate changes in SERVER-42639: Rollback should use the collection UUID and not its name to create directories Created: 09/Aug/19  Updated: 13/Nov/23  Resolved: 20/Feb/20

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 4.3.1, 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: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-grab-bag
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-42639 Rollback should use the collection UU... Closed
Participants:
Days since reply: 3 years, 50 weeks, 6 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

SERVER ticket description: With the removal of collection name length limits, rollback should not use the collection name to create a directory but should rather use the collection UUID as we cannot create directories on the file system with very long names.

See here.
Change Description: This patch changed the name of the directories where rollback files are stored from db.collection to uuid.

Before:
./rollback
├── db.collection
│   └── removed.2018-03-20T20-23-01.21.bson
├── otherdb.othercollection
│   ├── removed.2018-03-20T20-23-01.18.bson
│   └── removed.2018-03-20T20-23-01.19.bson

After:
./rollback
├── uuid
│   └── removed.2018-03-20T20-23-01.21.bson
├── otheruuid
│   ├── removed.2018-03-20T20-23-01.18.bson
│   └── removed.2018-03-20T20-23-01.19.bson

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 20/Feb/20 ]

Author:

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

Message: DOCS-12950: tweak script
Branch: master
https://github.com/mongodb/docs/commit/cf6e0af15a27618f4fa176281a61ddc5461f575f

Comment by Githook User [ 20/Feb/20 ]

Author:

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

Message: DOCS-12950: switch forEach to a regular for loop in order to break once a match is found
Branch: master
https://github.com/mongodb/docs/commit/3c50dee7d9368ba3c4abd4eb06359d59ff17fa8b

Comment by Githook User [ 20/Feb/20 ]

Author:

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

Message: DOCS-12950: 4.4 rollback file directory name uses UUID
Branch: master
https://github.com/mongodb/docs/commit/1fcfa4463fd11740c0d1e5dee282f5d5ae2051cd

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