From 8b0f03f6e8d162ea5b36e5d6e1379823b117226c Mon Sep 17 00:00:00 2001 From: Steve Atherton Date: Thu, 15 Jul 2021 09:05:36 -0700 Subject: [PATCH] CommitSubtree was still doing non-caching reads, this was unintentional. --- fdbserver/VersionedBTree.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbserver/VersionedBTree.actor.cpp b/fdbserver/VersionedBTree.actor.cpp index a3cc417a1e..5474a05a8f 100644 --- a/fdbserver/VersionedBTree.actor.cpp +++ b/fdbserver/VersionedBTree.actor.cpp @@ -5641,7 +5641,7 @@ private: debug_printf("%s -------------------------------------\n", context.c_str()); } - state Reference page = wait(readPage(snapshot, rootID, height - 1, false, false)); + state Reference 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.