diff --git a/src/mongo/s/query/establish_cursors.cpp b/src/mongo/s/query/establish_cursors.cpp index a0ff0f6cb0..c24dbb0698 100644 --- a/src/mongo/s/query/establish_cursors.cpp +++ b/src/mongo/s/query/establish_cursors.cpp @@ -63,6 +63,11 @@ std::vector establishCursors(OperationContext* opCtx, } // Send the requests + LOG(1) << "about to reload registry!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; + auto shardRegistry = Grid::get(getGlobalServiceContext())->shardRegistry(); + shardRegistry->reload(opCtx); + LOG(1) << "done reload registry!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; + MultiStatementTransactionRequestsSender ars( opCtx, executor, nss.db().toString(), std::move(requests), readPref, retryPolicy);