Skip to content

Commit fa5645f

Browse files
committed
debug
1 parent 1aa2dda commit fa5645f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rust/log-service/src/bin/chroma-inspect-log-contents.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ async fn main() {
2323
.await
2424
.expect("could not inspect log state");
2525
let scouted = scouted.into_inner();
26-
for i in (scouted.first_uncompacted_record_offset..scouted.first_uninserted_record_offset)
26+
println!("Scouted {scouted:?}");
27+
for i in (scouted.first_uncompacted_record_offset..=scouted.first_uninserted_record_offset)
2728
.step_by(100)
2829
{
2930
let batch_size: i32 =
3031
(std::cmp::min(i + 100, scouted.first_uninserted_record_offset) - i) as i32;
32+
println!("Fetching [{i}:{})", i + batch_size as i64);
3133
let pulled = client
3234
.pull_logs(PullLogsRequest {
3335
collection_id: args[1].clone(),

0 commit comments

Comments
 (0)