From 52e7632b9221f5691362df6aa80b496e1ee994dc Mon Sep 17 00:00:00 2001 From: yongkangc Date: Mon, 5 Jan 2026 11:52:56 +0000 Subject: [PATCH] dead code --- crates/stages/stages/src/stages/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/stages/stages/src/stages/utils.rs b/crates/stages/stages/src/stages/utils.rs index 7d655e356e..5d674fa1ab 100644 --- a/crates/stages/stages/src/stages/utils.rs +++ b/crates/stages/stages/src/stages/utils.rs @@ -193,7 +193,7 @@ where } /// Shard and insert the indices list according to [`LoadMode`] and its length. -pub(crate) fn load_indices( +fn load_indices( cursor: &mut C, partial_key: P, list: &mut Vec, @@ -238,7 +238,7 @@ where } /// Mode on how to load index shards into the database. -pub(crate) enum LoadMode { +enum LoadMode { /// Keep the last shard in memory and don't flush it to the database. KeepLast, /// Flush all shards into the database.