Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83289

Consider adding a rewrite alias for moveCollection

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Cluster Scalability

      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.

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            steve.kuhn@mongodb.com Steve Kuhn
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: