summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shardsvr_collmod_participant_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/shardsvr_collmod_participant_command.cpp')
-rw-r--r--src/mongo/db/s/shardsvr_collmod_participant_command.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/shardsvr_collmod_participant_command.cpp b/src/mongo/db/s/shardsvr_collmod_participant_command.cpp
index f4853d88a15..b3ff0e66e22 100644
--- a/src/mongo/db/s/shardsvr_collmod_participant_command.cpp
+++ b/src/mongo/db/s/shardsvr_collmod_participant_command.cpp
@@ -100,7 +100,8 @@ public:
} catch (const DBException&) {
// If the refresh fails, then set the shard version to UNKNOWN and let a future
// operation to refresh the metadata.
- UninterruptibleLockGuard noInterrupt(opCtx->lockState());
+ // TODO (SERVER-71444): Fix to be interruptible or document exception.
+ UninterruptibleLockGuard noInterrupt(opCtx->lockState()); // NOLINT.
AutoGetCollection autoColl(opCtx, bucketNs, MODE_IX);
CollectionShardingRuntime::assertCollectionLockedAndAcquire(
opCtx, bucketNs, CSRAcquisitionMode::kExclusive)