CommitSubtree was still doing non-caching reads, this was unintentional.

This commit is contained in:
Steve Atherton 2021-07-15 09:05:36 -07:00
parent 8a5caeb756
commit 8b0f03f6e8
1 changed files with 1 additions and 1 deletions

View File

@ -5641,7 +5641,7 @@ private:
debug_printf("%s -------------------------------------\n", context.c_str());
}
state Reference<const ArenaPage> page = wait(readPage(snapshot, rootID, height - 1, false, false));
state Reference<const ArenaPage> page = wait(readPage(snapshot, rootID, height - 1, false, true));
state Version writeVersion = self->getLastCommittedVersion() + 1;
// If the page exists in the cache, it must be copied before modification.