diff options
author | Simon Gratzer <simon.gratzer@mongodb.com> | 2021-05-11 16:51:47 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-17 23:15:36 +0000 |
commit | b0e213e963fe9ca76fb07212c6c2a1c9316af060 (patch) | |
tree | 00070dba9a94db1808eea0541842e430d7610bc7 /src/mongo/db/s/split_chunk.h | |
parent | 0e0b306c0571e7a8bb07491cbdf54bb10e5593e8 (diff) | |
download | mongo-b0e213e963fe9ca76fb07212c6c2a1c9316af060.tar.gz |
SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh
Diffstat (limited to 'src/mongo/db/s/split_chunk.h')
-rw-r--r-- | src/mongo/db/s/split_chunk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/split_chunk.h b/src/mongo/db/s/split_chunk.h index aaa074f2f55..6f394d397e5 100644 --- a/src/mongo/db/s/split_chunk.h +++ b/src/mongo/db/s/split_chunk.h @@ -48,6 +48,7 @@ class StatusWith; * Attempts to split a chunk with the specified parameters. If the split fails, then the StatusWith * object returned will contain a Status with an ErrorCode regarding the cause of failure. If the * split succeeds, then the StatusWith object returned will contain Status::Ok(). + * Will update the shard's filtering metadata. * * Additionally, splitChunk will attempt to perform top-chunk optimization. If top-chunk * optimization is performed, then the function will also return a ChunkRange, which contains the |