diff options
Diffstat (limited to 'src/mongo/s/shard_util.cpp')
-rw-r--r-- | src/mongo/s/shard_util.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mongo/s/shard_util.cpp b/src/mongo/s/shard_util.cpp index 59faf424f90..1f430a0d7be 100644 --- a/src/mongo/s/shard_util.cpp +++ b/src/mongo/s/shard_util.cpp @@ -156,18 +156,16 @@ StatusWith<boost::optional<ChunkRange>> splitChunkAtMultiplePoints( // is already performed at chunk split commit time, but we are performing it here for parity // with old auto-split code, which might rely on it. if (SimpleBSONObjComparator::kInstance.evaluate(chunkRange.getMin() == splitPoints.front())) { - const std::string msg(str::stream() << "not splitting chunk " << chunkRange.toString() - << ", split point " - << splitPoints.front() - << " is exactly on chunk bounds"); + const std::string msg(str::stream() + << "not splitting chunk " << chunkRange.toString() << ", split point " + << splitPoints.front() << " is exactly on chunk bounds"); return {ErrorCodes::CannotSplit, msg}; } if (SimpleBSONObjComparator::kInstance.evaluate(chunkRange.getMax() == splitPoints.back())) { - const std::string msg(str::stream() << "not splitting chunk " << chunkRange.toString() - << ", split point " - << splitPoints.back() - << " is exactly on chunk bounds"); + const std::string msg(str::stream() + << "not splitting chunk " << chunkRange.toString() << ", split point " + << splitPoints.back() << " is exactly on chunk bounds"); return {ErrorCodes::CannotSplit, msg}; } |