summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/split_chunk_command.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2016-09-06 12:52:00 -0400
committerSpencer T Brody <spencer@mongodb.com>2016-09-08 13:19:05 -0400
commitcb08672b2e759f4a63a114a171e009ea95925fca (patch)
treeccd20d72d8d317bb536f9217d6c561a6d55959f0 /src/mongo/db/s/split_chunk_command.cpp
parent6c2169cc938d4ef1797782be934e6ce7c97fc21a (diff)
downloadmongo-cb08672b2e759f4a63a114a171e009ea95925fca.tar.gz
SERVER-25856 Rename _configsvr{Split,Merge}Chunks commands to _configsvrCommitChunk{Split,Merge}
Diffstat (limited to 'src/mongo/db/s/split_chunk_command.cpp')
-rw-r--r--src/mongo/db/s/split_chunk_command.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/split_chunk_command.cpp b/src/mongo/db/s/split_chunk_command.cpp
index 74a437a5dbd..5b3f225d205 100644
--- a/src/mongo/db/s/split_chunk_command.cpp
+++ b/src/mongo/db/s/split_chunk_command.cpp
@@ -402,10 +402,10 @@ public:
}
//
- // If _configsvrSplitChunk returned an error, look at this shard's metadata to determine if
- // the split actually did happen. This can happen if there's a network error getting the
- // response from the first call to _configsvrSplitChunk, but it actually succeeds, thus the
- // automatic retry fails with a precondition violation, for example.
+ // If _configsvrCommitChunkSplit returned an error, look at this shard's metadata to
+ // determine if the split actually did happen. This can happen if there's a network error
+ // getting the response from the first call to _configsvrCommitChunkSplit, but it actually
+ // succeeds, thus the automatic retry fails with a precondition violation, for example.
//
if ((!commandStatus.isOK() || !writeConcernStatus.isOK()) &&
_checkMetadataForSuccess(txn, nss, chunkRange, splitKeys)) {