diff options
Diffstat (limited to 'src/mongo/db/s/metadata_manager.h')
-rw-r--r-- | src/mongo/db/s/metadata_manager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/s/metadata_manager.h b/src/mongo/db/s/metadata_manager.h index 6ab9a5ae37e..bd2c0189742 100644 --- a/src/mongo/db/s/metadata_manager.h +++ b/src/mongo/db/s/metadata_manager.h @@ -140,7 +140,9 @@ public: * * Returns a future that will be fulfilled when the range deletion completes or fails. */ - SharedSemiFuture<void> cleanUpRange(ChunkRange const& range, bool shouldDelayBeforeDeletion); + SharedSemiFuture<void> cleanUpRange(ChunkRange const& range, + boost::optional<UUID> migrationId, + bool shouldDelayBeforeDeletion); /** * Returns the number of ranges scheduled to be cleaned, exclusive of such ranges that might @@ -241,6 +243,7 @@ private: const WithLock&, SemiFuture<void> waitForActiveQueriesToComplete, const ChunkRange& range, + boost::optional<UUID> migrationId, Seconds delayForActiveQueriesOnSecondariesToComplete); // ServiceContext from which to obtain instances of global support objects |