diff options
Diffstat (limited to 'src/mongo/db/s/metadata_manager.h')
-rw-r--r-- | src/mongo/db/s/metadata_manager.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mongo/db/s/metadata_manager.h b/src/mongo/db/s/metadata_manager.h index 2844d696874..3685f4adf8b 100644 --- a/src/mongo/db/s/metadata_manager.h +++ b/src/mongo/db/s/metadata_manager.h @@ -104,40 +104,12 @@ public: void setFilteringMetadata(CollectionMetadata newMetadata); - void toBSONPending(BSONArrayBuilder& bb) const; - - /** - * Returns the number of items in the _receivingChunks list. Useful for unit tests. - */ - size_t numberOfReceivingChunks() { - return _receivingChunks.size(); - } - - /** - * Clears the items in the _receivingChunks list. - */ - void clearReceivingChunks(); - /** * Appends information on all the chunk ranges in rangesToClean to builder. */ void append(BSONObjBuilder* builder) const; /** - * Schedules any documents in `range` for immediate cleanup iff no running queries can depend - * on them, and adds the range to the list of ranges currently being received. - * - * Returns a future that will be resolved when the deletion either completes or fail. - */ - SharedSemiFuture<void> beginReceive(ChunkRange const& range); - - /** - * Removes `range` from the list of ranges currently being received, and schedules any documents - * in the range for immediate cleanup. - */ - void forgetReceive(const ChunkRange& range); - - /** * Schedules documents in `range` for cleanup after any running queries that may depend on them * have terminated. Does not block. Fails if the range overlaps any current local shard chunk. * @@ -280,9 +252,6 @@ private: // active collection metadata instances still in use by active server operations or cursors. std::list<std::shared_ptr<CollectionMetadataTracker>> _metadata; - // Chunk ranges being migrated into to the shard. Indexed by the min key of the range. - RangeMap _receivingChunks; - // Ranges being deleted, or scheduled to be deleted, by a background task. std::list<std::pair<ChunkRange, SharedSemiFuture<void>>> _rangesScheduledForDeletion; }; |