[SERVER-42639] Rollback should use the collection UUID and not its name to create directories Created: 06/Aug/19 Updated: 08/Jan/24 Resolved: 09/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2019-08-12 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 15 | ||||||||||||||||||||||||||||||||
| 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. |
| Comments |
| Comment by Githook User [ 09/Aug/19 ] | ||||||||||||||||||||||||||||
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: | ||||||||||||||||||||||||||||
| Comment by Githook User [ 09/Aug/19 ] | ||||||||||||||||||||||||||||
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: | ||||||||||||||||||||||||||||
| Comment by Alyson Cabral (Inactive) [ 08/Aug/19 ] | ||||||||||||||||||||||||||||
|
Ok, I'm good with this change. Please mark it as docs changes needed and we'll get the right info to our users | ||||||||||||||||||||||||||||
| Comment by Gregory Wlodarek [ 08/Aug/19 ] | ||||||||||||||||||||||||||||
|
Users can run listCollections to find the UUID <-> collection name mapping
| ||||||||||||||||||||||||||||
| Comment by Alyson Cabral (Inactive) [ 08/Aug/19 ] | ||||||||||||||||||||||||||||
|
Ah, so this is just about changing the naming of rollback files. How will users be able to grab a UUID for the collection and map it back to the file? | ||||||||||||||||||||||||||||
| Comment by Mira Carey [ 06/Aug/19 ] | ||||||||||||||||||||||||||||
|
Added a sharding ticket for the migration destination manager issue, assuming we think this is a good issue to tackle systemically | ||||||||||||||||||||||||||||
| Comment by Gregory Wlodarek [ 06/Aug/19 ] | ||||||||||||||||||||||||||||
|
In addition, it looks like the MigrationDestinationManager uses fully qualified names rather than UUIDs to create directories here. | ||||||||||||||||||||||||||||
| Comment by Max Hirschhorn [ 06/Aug/19 ] | ||||||||||||||||||||||||||||
|
The idea of using UUIDs for rollback files had also come up in |