summaryrefslogtreecommitdiff
path: root/src/mongo/s/shard_util.h
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-01-10 12:04:22 -0500
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-01-11 11:07:22 -0500
commit5998e8cde81d850e6b1bbd9156ed7d3223e6cd51 (patch)
tree233854d3204649b55e4709809ac13e777858f32e /src/mongo/s/shard_util.h
parent0ecb8a16579c070aa0b021420f490336d7bf6db4 (diff)
downloadmongo-5998e8cde81d850e6b1bbd9156ed7d3223e6cd51.tar.gz
SERVER-27613 do not send chunk's ChunkVersion in split requests
Diffstat (limited to 'src/mongo/s/shard_util.h')
-rw-r--r--src/mongo/s/shard_util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/shard_util.h b/src/mongo/s/shard_util.h
index a84ed72ccd7..2edc7025db4 100644
--- a/src/mongo/s/shard_util.h
+++ b/src/mongo/s/shard_util.h
@@ -102,7 +102,6 @@ StatusWith<std::vector<BSONObj>> selectChunkSplitPoints(OperationContext* txn,
* shardKeyPattern The shard key which corresponds to this sharded namespace.
* collectionVersion The expected collection version when doing the split.
* minKey/maxKey Bounds of the chunk to be split.
- * chunkVersion Expected version of the chunk, which is being modified.
* splitPoints The set of points at which the chunk should be split.
*/
StatusWith<boost::optional<ChunkRange>> splitChunkAtMultiplePoints(
@@ -113,7 +112,6 @@ StatusWith<boost::optional<ChunkRange>> splitChunkAtMultiplePoints(
ChunkVersion collectionVersion,
const BSONObj& minKey,
const BSONObj& maxKey,
- ChunkVersion chunkVersion,
const std::vector<BSONObj>& splitPoints);
} // namespace shardutil