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

[quic]Decrement total_streams correctly#26158

Merged
pgarg66 merged 1 commit intosolana-labs:masterfrom
bdhobare:quic-streams-counter
Jun 23, 2022
Merged

[quic]Decrement total_streams correctly#26158
pgarg66 merged 1 commit intosolana-labs:masterfrom
bdhobare:quic-streams-counter

Conversation

@bdhobare
Copy link
Copy Markdown
Contributor

@bdhobare bdhobare commented Jun 22, 2022

Problem

The number of total active streams is not calculated properly

Summary of Changes

Fixes #26034

@mergify mergify Bot added the community Community contribution label Jun 22, 2022
@mergify mergify Bot requested a review from a team June 22, 2022 22:40
@bdhobare bdhobare marked this pull request as ready for review June 22, 2022 23:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 23, 2022

Codecov Report

Merging #26158 (0ba4a99) into master (467c840) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #26158   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         631      631           
  Lines      174644   174649    +5     
=======================================
+ Hits       143064   143069    +5     
  Misses      31580    31580           

@jstarry jstarry requested review from pgarg66 and removed request for a team June 23, 2022 15:47
Copy link
Copy Markdown
Contributor

@pgarg66 pgarg66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it.

@pgarg66 pgarg66 merged commit b26c79b into solana-labs:master Jun 23, 2022
@pgarg66 pgarg66 added the v1.10 label Jun 23, 2022
mergify Bot pushed a commit that referenced this pull request Jun 23, 2022
mergify Bot added a commit that referenced this pull request Jun 23, 2022
(cherry picked from commit b26c79b)

Co-authored-by: Miles Obare <bdhobare@gmail.com>
gregcusack pushed a commit to gregcusack/solana that referenced this pull request Jun 23, 2022
gregcusack pushed a commit that referenced this pull request Jun 29, 2022
* add three gossip metrics measuring gossip loop times

* add 5 metrics

* rm space

* rm space

* Update SECURITY.md

- fix nav link
- add bounty split policy for duplicate reports

* Add transaction index in slot to geyser plugin TransactionInfo (#25688)

* Define shuffle to prep using same shuffle for multiple slices

* Determine transaction indexes and plumb to execute_batch

* Pair transaction_index with transaction in TransactionStatusService

* Add new ReplicaTransactionInfoVersion

* Plumb transaction_indexes through BankingStage

* Prepare BankingStage to receive transaction indexes from PohRecorder

* Determine transaction indexes in PohRecorder; add field to WorkingBank

* Add PohRecorder::record unit test

* Only pass starting_transaction_index around PohRecorder

* Add helper structs to simplify test DashMap

* Pass entry and starting-index into process_entries_with_callback together

* Add tx-index checks to test_rebatch_transactions

* Revert shuffle definition and use zip/unzip

* Only zip/unzip if randomize

* Add confirm_slot_entries test

* Review nits

* Add type alias to make sender docs more clear

* Update SECURITY.md

finish filling out the table....

* rpc: fix possible deadlock in rpc (#26051)

* Add StatusCache::root_slot_deltas() and use it (#26170)

* Remove InMemAccountsIndex::map() and use map_internal directly (#26189)

* [quic]Decrement total_streams correctly (#26158)

* remove comment

* alphabetical metrics. no abbreviations

* remove trailing white space

* cargo fmt to update code format/readability

Co-authored-by: Trent Nelson <trent@solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Co-authored-by: Boqin Qin(秦 伯钦) <Bobbqqin@gmail.com>
Co-authored-by: Brooks Prumo <brooks@solana.com>
Co-authored-by: Miles Obare <bdhobare@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community Community contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QUIC active streams metrics counter is broken

2 participants