diff options
author | Antonio Fuschetto <antonio.fuschetto@mongodb.com> | 2021-10-18 20:54:54 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-18 22:30:30 +0000 |
commit | 01cb4a206af83bf49da4fa750aba4a3f4aeaea10 (patch) | |
tree | 4aa7d910e1493b79a43a697be7e7f2e8a4aff980 /src/mongo/db/s/chunk_splitter.cpp | |
parent | e99ec2cde2134987506b708cf624cdc5ef4bdb77 (diff) | |
download | mongo-01cb4a206af83bf49da4fa750aba4a3f4aeaea10.tar.gz |
SERVER-60489 Handle potential exceptions in balancer recovery phase
Diffstat (limited to 'src/mongo/db/s/chunk_splitter.cpp')
-rw-r--r-- | src/mongo/db/s/chunk_splitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/chunk_splitter.cpp b/src/mongo/db/s/chunk_splitter.cpp index 3f653a714ec..34b419367ae 100644 --- a/src/mongo/db/s/chunk_splitter.cpp +++ b/src/mongo/db/s/chunk_splitter.cpp @@ -127,7 +127,7 @@ void moveChunk(OperationContext* opCtx, const NamespaceString& nss, const BSONOb chunkToMove.setMax(suggestedChunk.getMax()); chunkToMove.setVersion(suggestedChunk.getLastmod()); - uassertStatusOK(configsvr_client::rebalanceChunk(opCtx, chunkToMove)); + uassertStatusOK(configsvr_client::rebalanceChunk(opCtx, nss, chunkToMove)); } /** |