log always, but at debug

This commit is contained in:
Christian Schwarz
2024-09-15 13:18:25 +01:00
parent af6c168265
commit 2a0695e01a
3 changed files with 3 additions and 9 deletions

View File

@@ -915,9 +915,7 @@ impl DeltaLayerInner {
let lsn = DeltaKey::extract_lsn_from_buf(&raw_key);
let blob_ref = BlobRef(value);
if key == Key::from_hex("000000067F000000050000400600000543D3").unwrap() {
info!(file = %self_desc.layer_name(), %key, %lsn, will_init = blob_ref.will_init(), "delta layer found key")
}
debug!(file = %self_desc.layer_name(), %key, %lsn, will_init = blob_ref.will_init(), "delta layer found key");
// Lsns are not monotonically increasing across keys, so we don't assert on them.
assert!(key >= range.start);

View File

@@ -510,9 +510,7 @@ impl ImageLayerInner {
BlobFlag::None
};
if key == Key::from_hex("000000067F000000050000400600000543D3").unwrap() {
info!(file = %self_desc.layer_name(), %key, %self.lsn, will_init=true, "image layer found key")
}
debug!(file = %self_desc.layer_name(), %key, %self.lsn, will_init=true, "image layer found key");
if key >= range.end {
planner.handle_range_end(offset);

View File

@@ -469,9 +469,7 @@ impl InMemoryLayer {
senders.insert((key, *entry_lsn), tx);
reconstruct_state.update_key(&key, *entry_lsn, will_init, rx);
if key == Key::from_hex("000000067F000000050000400600000543D3").unwrap() {
info!(%key, %entry_lsn, will_init, "inmemory layer found key")
}
debug!(%key, %entry_lsn, will_init, "inmemory layer found key");
if will_init {
break;