diff options
author | Sergi Mateo Bellido <sergi.mateo-bellido@mongodb.com> | 2021-05-12 12:29:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-16 12:06:04 +0000 |
commit | 6d2e673bd7c69aa0de24ba3ce1ac3aa1c71343be (patch) | |
tree | 64ec3e2f8c4042829747c920c1db2841d4453b0b /src/mongo/db/s/migration_source_manager.h | |
parent | ca69b62fe50e03922c96a75de509f3ad33fb4363 (diff) | |
download | mongo-6d2e673bd7c69aa0de24ba3ce1ac3aa1c71343be.tar.gz |
SERVER-56788 Extend the in-memory collection critical section to keep track of the ongoing operation
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.h')
-rw-r--r-- | src/mongo/db/s/migration_source_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_source_manager.h b/src/mongo/db/s/migration_source_manager.h index d032047c4fb..17f235bedbe 100644 --- a/src/mongo/db/s/migration_source_manager.h +++ b/src/mongo/db/s/migration_source_manager.h @@ -270,6 +270,9 @@ private: // on this node. The future is set when the range deletion completes. Used if the moveChunk was // sent with waitForDelete. boost::optional<SemiFuture<void>> _cleanupCompleteFuture; + + // Information about the moveChunk to be used in the critical section. + const BSONObj _critSecReason; }; } // namespace mongo |