summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_sharding_state.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2017-07-10 14:21:57 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2017-07-10 19:38:01 -0400
commit3b1554c77ce9c80b30044654ff2cab3aff7070d4 (patch)
treeefbcf847f86b37349d51dfe91414e7312ae02172 /src/mongo/db/s/collection_sharding_state.h
parenta13467bddf585a6265e09319f1f769fc0e60beb0 (diff)
downloadmongo-3b1554c77ce9c80b30044654ff2cab3aff7070d4.tar.gz
SERVER-29745 after a successful migration, ensure the metadata update is persisted before range deletion is schedule
Diffstat (limited to 'src/mongo/db/s/collection_sharding_state.h')
-rw-r--r--src/mongo/db/s/collection_sharding_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/collection_sharding_state.h b/src/mongo/db/s/collection_sharding_state.h
index 033cde19623..979a638599e 100644
--- a/src/mongo/db/s/collection_sharding_state.h
+++ b/src/mongo/db/s/collection_sharding_state.h
@@ -142,8 +142,8 @@ public:
* is added to permit (most) dependent queries on secondaries to complete, too.
*
* Call result.waitStatus(opCtx) to wait for the deletion to complete or fail. If that succeeds,
- * call waitForClean to ensure no other deletions are pending for the range. Call
- * result.abandon(), instead, to ignore the outcome.
+ * waitForClean can be called to ensure no other deletions are pending for the range. Call
+ * result.abandon(), instead of waitStatus, to ignore the outcome.
*/
enum CleanWhen { kNow, kDelayed };
auto cleanUpRange(ChunkRange const& range, CleanWhen) -> CleanupNotification;