From 2159ae8e92b96847340d33be04208b0afb23e674 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 21 Aug 2024 15:41:22 +0000 Subject: [PATCH] commentary in inmemory_layer.rs --- pageserver/src/tenant/storage_layer/inmemory_layer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pageserver/src/tenant/storage_layer/inmemory_layer.rs b/pageserver/src/tenant/storage_layer/inmemory_layer.rs index 12608bd5e6..625cff74e5 100644 --- a/pageserver/src/tenant/storage_layer/inmemory_layer.rs +++ b/pageserver/src/tenant/storage_layer/inmemory_layer.rs @@ -315,7 +315,7 @@ impl InMemoryLayer { } } - // Execute the read. + // Execute the reads. let f = vectored_dio_read::execute( &inner.file, reads @@ -348,6 +348,8 @@ impl InMemoryLayer { // TODO: metric to see if we fetched more values than necessary continue 'next_key; } + + // process the next value in the next iteration of the loop } } }