File tree Expand file tree Collapse file tree 6 files changed +16
-537
lines changed Expand file tree Collapse file tree 6 files changed +16
-537
lines changed Original file line number Diff line number Diff line change @@ -4415,12 +4415,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
4415
4415
if cached_head. head_block_root ( ) == parent_block_root {
4416
4416
( Cow :: Borrowed ( head_state) , cached_head. head_state_root ( ) )
4417
4417
} else {
4418
- info ! (
4419
- self . log,
4420
- "Missed snapshot cache during withdrawals calculation" ;
4421
- "slot" => proposal_slot,
4422
- "parent_block_root" => ?parent_block_root
4423
- ) ;
4424
4418
let block = self
4425
4419
. get_blinded_block ( & parent_block_root) ?
4426
4420
. ok_or ( Error :: MissingBeaconBlock ( parent_block_root) ) ?;
Original file line number Diff line number Diff line change @@ -32,18 +32,11 @@ lazy_static! {
32
32
"beacon_block_processing_successes_total" ,
33
33
"Count of blocks processed without error"
34
34
) ;
35
+ // Keeping the existing "snapshot_cache" metric name as it would break existing dashboards
35
36
pub static ref BLOCK_PROCESSING_SNAPSHOT_CACHE_SIZE : Result <IntGauge > = try_create_int_gauge(
36
37
"beacon_block_processing_snapshot_cache_size" ,
37
38
"Count snapshots in the snapshot cache"
38
39
) ;
39
- pub static ref BLOCK_PROCESSING_SNAPSHOT_CACHE_MISSES : Result <IntCounter > = try_create_int_counter(
40
- "beacon_block_processing_snapshot_cache_misses" ,
41
- "Count of snapshot cache misses"
42
- ) ;
43
- pub static ref BLOCK_PROCESSING_SNAPSHOT_CACHE_CLONES : Result <IntCounter > = try_create_int_counter(
44
- "beacon_block_processing_snapshot_cache_clones" ,
45
- "Count of snapshot cache clones"
46
- ) ;
47
40
pub static ref BLOCK_PROCESSING_TIMES : Result <Histogram > =
48
41
try_create_histogram( "beacon_block_processing_seconds" , "Full runtime of block processing" ) ;
49
42
pub static ref BLOCK_PROCESSING_BLOCK_ROOT : Result <Histogram > = try_create_histogram(
You can’t perform that action at this time.
0 commit comments