Make DiskQueue V1 not ignore min recovery location.

I can't figure out why I made this branch on version, and it's breaking
having value and reference tlogs in the same SharedTLog
This commit is contained in:
Alex Miller 2019-10-02 16:35:36 -07:00
parent 6742222084
commit 35a0fc948d
1 changed files with 1 additions and 6 deletions

View File

@ -1269,12 +1269,7 @@ private:
Page* lastPage = (Page*)lastPageData.begin();
self->poppedSeq = lastPage->popped;
if (self->diskQueueVersion >= DiskQueueVersion::V1) {
// poppedSeq can be lagged very behind in logSpilling feature.
self->nextReadLocation = std::max(recoverAt.lo, self->poppedSeq);
} else {
self->nextReadLocation = lastPage->popped;
}
self->nextReadLocation = std::max(recoverAt.lo, self->poppedSeq);
/*
state std::auto_ptr<Page> testPage(new Page);