[SERVER-426] REQ: temp Repair directory to be config file or user defined. Created: 17/Nov/09 Updated: 12/Jul/16 Resolved: 25/Jan/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Usability |
| Affects Version/s: | 1.1.3 |
| Fix Version/s: | 1.3.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Alexey Zilber | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux |
||
| Participants: |
| Description |
|
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. Relocating the temp directory and making the variable user configurable is the sane thing to do here. -Alex |
| Comments |
| Comment by Aaron Staple [ 25/Jan/10 ] |
|
Ok, there's now a --repairpath option. The repairpath must exist before you start the db. Let us know if you have any trouble. |
| Comment by auto [ 25/Jan/10 ] |
|
Author: {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}Message: |
| Comment by Alexey Zilber [ 17/Nov/09 ] |
|
#2 above is just a comment, not a negative reason. |