Priority for commit reads should be == height.

This commit is contained in:
Steve Atherton 2021-07-19 15:58:38 -07:00 committed by GitHub
parent 275089a9a9
commit 80ac791dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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