summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/drop_collection_coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/drop_collection_coordinator.h')
-rw-r--r--src/mongo/db/s/drop_collection_coordinator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/drop_collection_coordinator.h b/src/mongo/db/s/drop_collection_coordinator.h
index 1f43b204de4..140013e41e1 100644
--- a/src/mongo/db/s/drop_collection_coordinator.h
+++ b/src/mongo/db/s/drop_collection_coordinator.h
@@ -33,7 +33,6 @@
#include "mongo/db/s/collection_sharding_runtime.h"
#include "mongo/db/s/drop_collection_coordinator_document_gen.h"
#include "mongo/db/s/sharding_ddl_coordinator.h"
-
namespace mongo {
class DropCollectionCoordinator final : public ShardingDDLCoordinator {
@@ -83,6 +82,7 @@ private:
void _enterPhase(Phase newPhase);
+ mutable Mutex _docMutex = MONGO_MAKE_LATCH("DropCollectionCoordinator::_docMutex");
DropCollectionCoordinatorDocument _doc;
};