summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/split_chunk.cpp
diff options
context:
space:
mode:
authorAllison Easton <allison.easton@mongodb.com>2022-10-24 09:41:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-24 10:12:13 +0000
commit6faa57abb9c9c466531ee008904989ca0cc3b4f4 (patch)
treeb4c138820327ab05989256ede2685185e59eb679 /src/mongo/db/s/split_chunk.cpp
parent4b485507171554a0c0349d3aa4335cd1a1ba8d47 (diff)
downloadmongo-6faa57abb9c9c466531ee008904989ca0cc3b4f4.tar.gz
SERVER-70090 Replace CollectionGeneration with UUID in CollectionIndexes
Diffstat (limited to 'src/mongo/db/s/split_chunk.cpp')
-rw-r--r--src/mongo/db/s/split_chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/split_chunk.cpp b/src/mongo/db/s/split_chunk.cpp
index 1b0d2b3806f..234b4272d09 100644
--- a/src/mongo/db/s/split_chunk.cpp
+++ b/src/mongo/db/s/split_chunk.cpp
@@ -126,7 +126,7 @@ bool checkMetadataForSuccessfulSplitChunk(OperationContext* opCtx,
nss,
ShardVersion::IGNORED() /* receivedVersion */,
ShardVersion(placementVersion,
- CollectionIndexes(placementVersion, boost::none)) /* wantedVersion */,
+ boost::optional<CollectionIndexes>(boost::none)) /* wantedVersion */,
shardId),
str::stream() << "Collection " << nss.ns() << " changed since split start",
epoch == expectedEpoch &&