fix: nothingPersistent could be incorrect when popped is equal to persistentDataVersion
This commit is contained in:
parent
533db94f3c
commit
4e12721227
|
@ -648,7 +648,7 @@ ACTOR Future<Void> updatePoppedLocation( TLogData* self, Reference<LogData> logD
|
|||
if (!data->requiresPoppedLocationUpdate) return Void();
|
||||
data->requiresPoppedLocationUpdate = false;
|
||||
|
||||
if (data->popped < logData->persistentDataVersion) {
|
||||
if (data->popped <= logData->persistentDataVersion) {
|
||||
// Recover the next needed location in the Disk Queue from the index.
|
||||
Standalone<VectorRef<KeyValueRef>> kvrefs = wait(
|
||||
self->persistentData->readRange(KeyRangeRef(
|
||||
|
|
Loading…
Reference in New Issue