Skip to content

Commit 0323b6f

Browse files
PolPinolEvergreen Agent
authored and
Evergreen Agent
committed
SERVER-83552 Recreate create collection coordinator result with catalog cache refresh
1 parent ce06ac4 commit 0323b6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mongo/db/s/create_collection_coordinator.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,8 @@ ExecutorFuture<void> CreateCollectionCoordinator::_runImpl(
16281628
getForwardableOpMetadata().setOn(opCtx);
16291629

16301630
auto cri = uassertStatusOK(
1631-
Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfo(opCtx, nss()));
1631+
Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfoWithRefresh(opCtx,
1632+
nss()));
16321633
CreateCollectionResponse response{cri.getCollectionVersion()};
16331634
response.setCollectionUUID(cri.cm.getUUID());
16341635
_result = std::move(response);

0 commit comments

Comments
 (0)