diff options
author | Spencer T Brody <spencer@mongodb.com> | 2018-09-28 13:24:58 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2018-09-28 13:25:11 -0400 |
commit | 3c66c2c186532b08d4ebcf4fb771598d43a5b8e9 (patch) | |
tree | 78cb6ebc03e57dafc38de81f5545c8cc90357c19 /src/mongo/db/s/config/configsvr_shard_collection_command.cpp | |
parent | f96903979ac329a760e7b6f1bb5d8695d3daf2a7 (diff) | |
download | mongo-3c66c2c186532b08d4ebcf4fb771598d43a5b8e9.tar.gz |
SERVER-37329 Add TODO for when runWithoutInterruption block can be removed
Diffstat (limited to 'src/mongo/db/s/config/configsvr_shard_collection_command.cpp')
-rw-r--r-- | src/mongo/db/s/config/configsvr_shard_collection_command.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/config/configsvr_shard_collection_command.cpp b/src/mongo/db/s/config/configsvr_shard_collection_command.cpp index 3b9161182be..1a0bc39da27 100644 --- a/src/mongo/db/s/config/configsvr_shard_collection_command.cpp +++ b/src/mongo/db/s/config/configsvr_shard_collection_command.cpp @@ -767,6 +767,7 @@ public: shardsvrShardCollectionRequest.setGetUUIDfromPrimaryShard( request.getGetUUIDfromPrimaryShard()); + // TODO(SERVER-37354): Remove the 'runWithoutInterruption' block. auto cmdResponse = opCtx->runWithoutInterruption([&] { return uassertStatusOK(primaryShard->runCommandWithFixedRetryAttempts( opCtx, |