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

[ISSUE #7979]Fix timerWheel message metric #7980

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

3424672656
Copy link
Contributor

@3424672656 3424672656 commented Mar 28, 2024

In normal cases, the number of messages of the deletion type is equal to the number of messages that should be deleted. When out of queue, add one for the deletion type and subtract one for the message that should be deleted. This ensures that the metric is accurate when deletion fails

@RongtongJin
Copy link
Contributor

@GenerousMan PTAL~

Copy link
Contributor

@GenerousMan GenerousMan left a comment

Choose a reason for hiding this comment

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

LGTM

@HScarb HScarb linked an issue Apr 1, 2024 that may be closed by this pull request
3 tasks
@RongtongJin RongtongJin merged commit bf24ffd into apache:develop Apr 1, 2024
9 of 10 checks passed
@3424672656 3424672656 deleted the fix_timerWheel_metric branch April 1, 2024 02:56
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.

[Bug] Timing message metric will be inaccurate due to incorrect deletion behavior
3 participants