mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Fix invalid read
This commit is contained in:
parent
e0f3b2718a
commit
5338251946
@ -1529,11 +1529,12 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS
|
||||
}
|
||||
}
|
||||
|
||||
state UID dbgid = self->dbgid;
|
||||
state Future<Void> maxGetPoppedDuration = delay(SERVER_KNOBS->TXS_POPPED_MAX_DELAY);
|
||||
wait(waitForAll(poppedReady) || maxGetPoppedDuration);
|
||||
|
||||
if (maxGetPoppedDuration.isReady()) {
|
||||
TraceEvent(SevWarnAlways, "PoppedTxsNotReady", self->dbgid);
|
||||
TraceEvent(SevWarnAlways, "PoppedTxsNotReady", dbgid);
|
||||
}
|
||||
|
||||
Version maxPopped = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user