[SERVER-12115] mongod --repair with --repairPath should do external sort in the repairPath directory Created: 16/Dec/13  Updated: 06/Dec/22  Resolved: 14/Sep/18

Status: Closed
Project: Core Server
Component/s: Admin, MMAPv1
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Participants:

 Description   

Currently mongod --repair rebuilds indexes in the dbpath/_tmp directory. If a deployment is low on disk space, this can easily cause out of disk space errors and halt the repair.

If a user specifies --repairPath, use --repairPath location to build indexes.

Current workaround is to symlink the dbpath/_tmp directory to a volume with more free space.



 Comments   
Comment by Eric Milkie [ 16/Dec/13 ]

Should this improvement instead be the ability to specify the temp path explicitly? I think that is the direction we are going in anyway, for the server and all the tools as well.

Generated at Thu Feb 08 03:27:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.