Skip to content

Commit

Permalink
Fix offset stream issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Jun 17, 2024
1 parent 104a0ae commit 17f9bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pageserver/src/tenant/storage_layer/image_layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl ImageLayer {
let mut key_offset_stream_a = std::pin::pin!(tree_readers_cursors[0]
.0
.get_stream_from(&[0u8; KEY_SIZE], ctx));
let mut key_offset_stream_b = std::pin::pin!(tree_readers_cursors[0]
let mut key_offset_stream_b = std::pin::pin!(tree_readers_cursors[1]
.0
.get_stream_from(&[0u8; KEY_SIZE], ctx));
while let Some(r) = key_offset_stream_a.next().await {
Expand All @@ -528,7 +528,7 @@ impl ImageLayer {
content_a, content_b,
"mismatch for key={key} cmp={cmp:?} and {path_a}:{path_b}"
);
println!("match for key={key} cmp={cmp:?} from {path_a}");
//println!("match for key={key} cmp={cmp:?} from {path_a}");
}
Ok(())
}
Expand Down

0 comments on commit 17f9bda

Please sign in to comment.