diff options
Diffstat (limited to 'src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp')
-rw-r--r-- | src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp b/src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp index 6af52ad1b78..fb64448964e 100644 --- a/src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp +++ b/src/mongo/db/s/shardsvr_drop_collection_participant_command.cpp @@ -77,14 +77,7 @@ public: opCtx->setAlwaysInterruptAtStepDownOrUp(); - try { - DropCollectionCoordinator::dropCollectionLocally(opCtx, ns()); - } catch (const ExceptionFor<ErrorCodes::NamespaceNotFound>&) { - LOGV2_DEBUG(5280920, - 1, - "Namespace not found while trying to delete local collection", - "namespace"_attr = ns()); - } + DropCollectionCoordinator::dropCollectionLocally(opCtx, ns()); // The txnParticipant will only be missing when the command was sent from a coordinator // running an old 5.0.0 binary that didn't attach a sessionId & txnNumber. |