Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Correct num_packets stats #33630

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

lijunwangs
Copy link
Contributor

Problem

The num_packets stats are counting the empty packets which are not actually sent and hence skewing the relationship between num_packets and successful_packets

Summary of Changes

Do not count the empty packets from cache warmer in num_packets stats as they are not sent.

Fixes #

@lijunwangs lijunwangs force-pushed the correct_num_packets_stats branch from ff78f0d to 253bf0b Compare October 10, 2023 20:10
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #33630 (d51d7fa) into master (982d29c) will increase coverage by 0.0%.
Report is 6 commits behind head on master.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #33630   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      217499   217502    +3     
=======================================
+ Hits       178019   178073   +54     
+ Misses      39480    39429   -51     

@lijunwangs lijunwangs merged commit 21b2fce into solana-labs:master Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants