From 1ae729a86a17ae58c1a48a2a6dee2c38b58fe8dc Mon Sep 17 00:00:00 2001 From: hammadb Date: Sat, 6 Dec 2025 22:06:09 -0800 Subject: [PATCH] [CHORE] Add some debug to hnsw index load --- rust/index/src/hnsw_provider.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust/index/src/hnsw_provider.rs b/rust/index/src/hnsw_provider.rs index 32aa0fe2687..348fa74547b 100644 --- a/rust/index/src/hnsw_provider.rs +++ b/rust/index/src/hnsw_provider.rs @@ -342,8 +342,7 @@ impl HnswIndexProvider { .map(|s| Self::format_key(prefix_path, source_id, s)) .collect(); let key_refs: Vec<&str> = keys.iter().map(|s| s.as_str()).collect(); - let s3_fetch_span = - tracing::trace_span!(parent: Span::current(), "Read hnsw files from s3 into index"); + let s3_fetch_span = tracing::trace_span!(parent: Span::current(), "Read hnsw files from s3 into index", index_id = %source_id, prefix_path = %prefix_path); let result = self .storage .fetch_batch(