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:
parent
6742222084
commit
35a0fc948d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue