summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_metadata.h
diff options
context:
space:
mode:
authorSarah Zhou <sarahzhou@MacBook-Pro-80.local>2018-06-08 14:01:40 -0400
committerSarah Zhou <sarahzhou@MacBook-Pro-80.local>2018-06-08 14:02:52 -0400
commit1c9354d71c835820f46e5cc557e604b1d602debd (patch)
treee647a2a9caed2d3f2cb2e2d9cbb580c1ad1ffa75 /src/mongo/db/s/collection_metadata.h
parentc0273c0a89e73ecfd7848fd4906a8e3c2d5886b9 (diff)
downloadmongo-1c9354d71c835820f46e5cc557e604b1d602debd.tar.gz
SERVER-35209 Remove the CollectionMetadata::getDifferentChunk code and its usages/tests
Diffstat (limited to 'src/mongo/db/s/collection_metadata.h')
-rw-r--r--src/mongo/db/s/collection_metadata.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/s/collection_metadata.h b/src/mongo/db/s/collection_metadata.h
index 759c4d6862e..eb76bcc720a 100644
--- a/src/mongo/db/s/collection_metadata.h
+++ b/src/mongo/db/s/collection_metadata.h
@@ -79,11 +79,6 @@ public:
bool getNextChunk(const BSONObj& lookupKey, ChunkType* chunk) const;
/**
- * Given a chunk identifying key "chunkMinKey", finds a different chunk if one exists.
- */
- bool getDifferentChunk(const BSONObj& chunkMinKey, ChunkType* differentChunk) const;
-
- /**
* Validates that the passed-in chunk's bounds exactly match a chunk in the metadata cache.
*/
Status checkChunkIsValid(const ChunkType& chunk) const;