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

REQ: temp Repair directory to be config file or user defined.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.2
    • Affects Version/s: 1.1.3
    • Component/s: Admin, Usability
    • None
    • Environment:
      Linux

      Current;y, mongodb repairs databases by creating a temporary directory within it's database path directory. This is highly bad for many reasons:

      1) On AWS with EBS volumes this will double or triple repair time, and cost more money if a lot of data is to be repaired. Also, by 'activating' more ebs blocks then will actually be used, snapshots will double in size and costs will double here as well.
      2) For performance, the temp directory might be on a separate volume, ram disk, etc.
      3) The data directory might be on iscsi (ala SoftLayer) and performance and space consideration would be an issue.
      4) There might simply not be double the database space on the volume.

      Relocating the temp directory and making the variable user configurable is the sane thing to do here.

      -Alex

            Assignee:
            aaron Aaron Staple
            Reporter:
            azilber Alexey Zilber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: