diff --git a/ledger/src/blockstore.rs b/ledger/src/blockstore.rs index b2bb8ec77c..156e29999a 100644 --- a/ledger/src/blockstore.rs +++ b/ledger/src/blockstore.rs @@ -631,7 +631,11 @@ impl Blockstore { } match data_cf.get_bytes((slot, i)).unwrap() { None => { - warn!("Data shred deleted while reading for recovery"); + error!( + "Unable to read the data shred with slot {slot}, index {i} for shred \ + recovery. The shred is marked present in the slot's data shred index, \ + but the shred could not be found in the data shred column." + ); None } Some(data) => Shred::new_from_serialized_shred(data).ok(), @@ -656,7 +660,11 @@ impl Blockstore { } match code_cf.get_bytes((slot, i)).unwrap() { None => { - warn!("Code shred deleted while reading for recovery"); + error!( + "Unable to read the coding shred with slot {slot}, index {i} for shred \ + recovery. The shred is marked present in the slot's coding shred index, \ + but the shred could not be found in the coding shred column." + ); None } Some(code) => Shred::new_from_serialized_shred(code).ok(),