Skip to content

Commit 0113f9e

Browse files
committed
SERVER-17875 Remove redundant check done on receiving-end of chunk migration
1 parent 7b3b167 commit 0113f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/s/d_migrate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,7 @@ namespace mongo {
21972197
_clonedBytes += docToClone.objsize();
21982198
}
21992199

2200-
if (writeConcern.shouldWaitForOtherNodes() && thisTime > 0) {
2200+
if (writeConcern.shouldWaitForOtherNodes()) {
22012201
repl::ReplicationCoordinator::StatusAndDuration replStatus =
22022202
repl::getGlobalReplicationCoordinator()->awaitReplication(
22032203
txn,

0 commit comments

Comments
 (0)