summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2013-05-08 17:59:43 -0400
committerRandolph Tan <randolph@10gen.com>2013-05-22 17:11:28 -0400
commit52e081c9bc5268dddcc3bf7e1df87266d7ea2ec3 (patch)
tree34efdc627045fa11c8de167fc569675cf9fc3855 /src/mongo/db/dbhelpers.h
parent47fc9f6809a29713ac7d80a4b318e690906075df (diff)
downloadmongo-52e081c9bc5268dddcc3bf7e1df87266d7ea2ec3.tar.gz
SERVER-8598 Add command to cleanup orphaned data created by failed chunk migrations
Step 3: Replace OldDataCleanup with RangeDeleter
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r--src/mongo/db/dbhelpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h
index d01cccef982..1b19d66ec8c 100644
--- a/src/mongo/db/dbhelpers.h
+++ b/src/mongo/db/dbhelpers.h
@@ -137,6 +137,8 @@ namespace mongo {
*
* Caller must hold a write lock on 'ns'
*
+ * Returns -1 when no usable index exists
+ *
* Does oplog the individual document deletions.
* // TODO: Refactor this mechanism, it is growing too large
*/