Priority for commit reads should be == height.
This commit is contained in:
parent
275089a9a9
commit
80ac791dcf
|
@ -5869,7 +5869,7 @@ private:
|
|||
}
|
||||
|
||||
state Reference<const ArenaPage> page =
|
||||
wait(readPage(PagerEventReasons::Commit, height, snapshot, rootID, height - 1, false, true));
|
||||
wait(readPage(PagerEventReasons::Commit, height, snapshot, rootID, height, false, true));
|
||||
state Version writeVersion = self->getLastCommittedVersion() + 1;
|
||||
|
||||
// If the page exists in the cache, it must be copied before modification.
|
||||
|
|
Loading…
Reference in New Issue