Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quic: fix stream reset error stats #35548

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

danzh2010
Copy link
Contributor

@danzh2010 danzh2010 commented Aug 1, 2024

Commit Message: fix a stats error where outgoing QUIC reset error stats is mistakenly incremented both when sending RESET_STREAM frame and receiving RESET_STREAM frame in MaybeSendRstStreamFrame(). As a result, .tx.quic_reset_stream_error_code_XXX is counting .rx.quic_reset_stream_error_code_XXX into it.

Additional Description: This PR also refactor the stats increment into QuicFilterManagerConnectionImpl shared between client and server sessions.

Risk Level: low, stats only
Testing: new unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

@soulxu
Copy link
Member

soulxu commented Aug 2, 2024

/assign @RyanTheOptimist

Copy link
Contributor

@RyanTheOptimist RyanTheOptimist left a comment

Choose a reason for hiding this comment

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

Oh, nice catch!

@danzh2010
Copy link
Contributor Author

/retest

RyanTheOptimist
RyanTheOptimist previously approved these changes Aug 5, 2024
@danzh2010
Copy link
Contributor Author

/retest

@RyanTheOptimist
Copy link
Contributor

Looks like this needs a main merge and possibly a re-test.
/wait

@RyanTheOptimist
Copy link
Contributor

/wait
CI still red

@danzh2010
Copy link
Contributor Author

/retest

1 similar comment
@danzh2010
Copy link
Contributor Author

/retest

@danzh2010
Copy link
Contributor Author

/retest

@RyanTheOptimist
Copy link
Contributor

/wait
CI

@danzh2010
Copy link
Contributor Author

/retest

@danzh2010
Copy link
Contributor Author

@RyanTheOptimist finally passed! Can this get merged before merging conflict coming up?

@RyanTheOptimist RyanTheOptimist enabled auto-merge (squash) August 8, 2024 21:05
@RyanTheOptimist RyanTheOptimist merged commit 65bcd93 into envoyproxy:main Aug 8, 2024
51 checks passed
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
Commit Message: fix a stats error where outgoing QUIC reset error stats
is mistakenly incremented both when sending RESET_STREAM frame and
receiving RESET_STREAM frame in MaybeSendRstStreamFrame(). As a result,
`.tx.quic_reset_stream_error_code_XXX` is counting
`.rx.quic_reset_stream_error_code_XXX` into it.

Additional Description: This PR also refactor the stats increment into
QuicFilterManagerConnectionImpl shared between client and server
sessions.

Risk Level: low, stats only
Testing: new unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Dan Zhang <[email protected]>
Co-authored-by: Dan Zhang <[email protected]>
Signed-off-by: asingh-g <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants