We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce06ac4 commit 0323b6fCopy full SHA for 0323b6f
src/mongo/db/s/create_collection_coordinator.cpp
@@ -1628,7 +1628,8 @@ ExecutorFuture<void> CreateCollectionCoordinator::_runImpl(
1628
getForwardableOpMetadata().setOn(opCtx);
1629
1630
auto cri = uassertStatusOK(
1631
- Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfo(opCtx, nss()));
+ Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfoWithRefresh(opCtx,
1632
+ nss()));
1633
CreateCollectionResponse response{cri.getCollectionVersion()};
1634
response.setCollectionUUID(cri.cm.getUUID());
1635
_result = std::move(response);
0 commit comments