diff options
author | Kaloian Manassiev <kaloianm@mongodb.com> | 2017-11-06 15:08:31 +0200 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-11-09 02:19:41 -0500 |
commit | 5f9e9f4291d6d0b345844d55517cedeb1d190d65 (patch) | |
tree | 44ad5c4f8672310c6b6427b54ab7f765a58963f1 /src/mongo/db/s/migration_destination_manager.h | |
parent | d0ecca650c1f506db0cb6a4e58f0d0f112304b28 (diff) | |
download | mongo-5f9e9f4291d6d0b345844d55517cedeb1d190d65.tar.gz |
SERVER-31848 Cleanup CollectionRangeDeleter
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager.h')
-rw-r--r-- | src/mongo/db/s/migration_destination_manager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.h b/src/mongo/db/s/migration_destination_manager.h index 49c6f1e5089..cc59483d699 100644 --- a/src/mongo/db/s/migration_destination_manager.h +++ b/src/mongo/db/s/migration_destination_manager.h @@ -164,8 +164,10 @@ private: * it schedules deletion of any documents in the range, so that process must be seen to be * complete before migrating any new documents in. */ - auto _notePending(OperationContext*, NamespaceString const&, OID const&, ChunkRange const&) - -> CollectionShardingState::CleanupNotification; + CollectionShardingState::CleanupNotification _notePending(OperationContext*, + NamespaceString const&, + OID const&, + ChunkRange const&); /** * Stops tracking a chunk range between 'min' and 'max' that previously was having data |