From 6e87f3ef665fdd84f07418fd2c7fdfc8e1b9d1dd Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Tue, 30 Jul 2024 12:16:21 +0530 Subject: [PATCH] Fix-4415: Fixes the Live Query Panic issue (#4437) --- core/src/kvs/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/kvs/node.rs b/core/src/kvs/node.rs index 1ec7b6a9..2cfe2aa5 100644 --- a/core/src/kvs/node.rs +++ b/core/src/kvs/node.rs @@ -232,7 +232,7 @@ impl Datastore { let end = crate::key::table::lq::suffix(&ns.name, &db.name, &tb.name); let mut next = Some(beg..end); while let Some(rng) = next { - let res = catch!(txn, txn.batch(rng, *NORMAL_FETCH_SIZE, false)); + let res = catch!(txn, txn.batch(rng, *NORMAL_FETCH_SIZE, true)); next = res.next; for (k, v) in res.values.iter() { // Decode the LIVE query statement