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.