0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-55679 Remove w:majority wait from generating minFetchTimestamp.

This commit is contained in:
Max Hirschhorn 2021-04-02 16:06:39 +00:00 committed by Evergreen Agent
parent cb09f4b10e
commit c0802699f2

View File

@ -95,10 +95,6 @@ Timestamp generateMinFetchTimestamp(const NamespaceString& sourceNss,
});
auto generatedOpTime = repl::ReplClientInfo::forClient(opCtx->getClient()).getLastOp();
WriteConcernResult result;
uassertStatusOK(waitForWriteConcern(
opCtx.get(), generatedOpTime, WriteConcerns::kMajorityWriteConcern, &result));
return generatedOpTime.getTimestamp();
}