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:
parent
cb09f4b10e
commit
c0802699f2
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user