fix: nothingPersistent could be incorrect when popped is equal to persistentDataVersion

This commit is contained in:
Evan Tschannen 2019-05-22 11:23:21 -07:00
parent 533db94f3c
commit 4e12721227
1 changed files with 1 additions and 1 deletions

View File

@ -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(