From b7259fdbcfc4ed44a61fd304c6f6a63cd8fd4704 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Tue, 15 Oct 2024 16:38:18 -0500 Subject: [PATCH] Temporarily replace client tracing for GetNextUnknown with fallback to FetchNext --- src/client/exec.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/exec.rs b/src/client/exec.rs index 3cea1aff..9e2360b7 100644 --- a/src/client/exec.rs +++ b/src/client/exec.rs @@ -143,7 +143,11 @@ where (key.clone(), StepResult::FetchKey(key)) } Err(Error::StoreErr(store::Error::GetNextUnknown(key))) => { - (key.clone(), StepResult::FetchNext(key)) + // (key.clone(), StepResult::FetchNext(key)) + // TODO: optimistically attempt to trace and only use fetchnext as fallback. we + // only do this because unwrapping a collections::Map::Iter entry + // does not push a trace yet + return Ok(StepResult::FetchNext(key)); } Err(Error::StoreErr(store::Error::GetPrevUnknown(maybe_key))) => { if let Some(key) = maybe_key {