Skip to content

251021 fix failure counter - #102

Merged
zmstone merged 3 commits into
mainfrom
251021-fix-failure-counter
Oct 23, 2025
Merged

251021 fix failure counter#102
zmstone merged 3 commits into
mainfrom
251021-fix-failure-counter

Conversation

@zmstone

@zmstone zmstone commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

Discovered in a flaky test.

  • Previously, the failed metric counter might be double-incremented
    for sent requests due to the attempt counter ws bumped only before re-sending.
    Now the attempt counter is bumped right after the failed metric counter is incremented.
  • Add process label (OTP 27)
  • A small refactor to decouple from kafka_protocol internals.

Previously, the failed metric counter might be double-incremented
for sent requests due to the attempt counter ws bumped only
before re-sending.
Now the attempt counter is bumped right after the failed
metric counter is incremented.

@thalesmg thalesmg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: maybe add a changelog entry?

@zmstone

zmstone commented Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

Nit: maybe add a changelog entry?

thanks, will add it later.

@zmstone
zmstone merged commit 10f1d21 into main Oct 23, 2025
4 checks passed
@zmstone
zmstone deleted the 251021-fix-failure-counter branch October 23, 2025 06:42
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.

2 participants