diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-05-03 15:30:04 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-05-18 13:22:33 -0400 |
commit | 1dd7a1ee81dbd1888dfc00fd658677bd444c9932 (patch) | |
tree | d464385f1cd58f1cbb473a7534e79c1dc3ff819c /src/mongo/db/s/collection_metadata.h | |
parent | 18d40b1e6eeaabb4cca0997962a871b2a5caba9f (diff) | |
download | mongo-1dd7a1ee81dbd1888dfc00fd658677bd444c9932.tar.gz |
SERVER-22659 removing _uncommittedMetadata local variable
Diffstat (limited to 'src/mongo/db/s/collection_metadata.h')
-rw-r--r-- | src/mongo/db/s/collection_metadata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/collection_metadata.h b/src/mongo/db/s/collection_metadata.h index e33207fe753..a84eeb61849 100644 --- a/src/mongo/db/s/collection_metadata.h +++ b/src/mongo/db/s/collection_metadata.h @@ -145,6 +145,11 @@ 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; + + /** * Given a key in the shard key range, get the next range which overlaps or is greater than * this key. * |