[SERVER-83289] Consider adding a rewrite alias for moveCollection Created: 15/Nov/23  Updated: 23/Jan/24

Status: Needs Scheduling
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Steve Kuhn Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Assigned Teams:
Cluster Scalability
Participants:

 Description   

The compact command returns free space back to the OS. While it's successful in achieving that, it's usefulness is limited to situations where free space exists and isn't likely to be reused (e.g., bulk delete and right-size or archiving). It isn't intended to handle situations where space is amplified due to usage patterns resulting in a poor on-disk layout.

The moveCollection command rewrites the file which would correct these situations. We should consider aliasing (e.g., rewriteCollection) the command for this use case.


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