Skip to content

Separate remaining and acked counters for race in rmqperftest - #107

Merged
michalovits merged 1 commit into
bloomberg:mainfrom
michalovits:rmqperftest-race
Nov 5, 2026
Merged

michalovits merged 1 commit into
bloomberg:mainfrom
michalovits:rmqperftest-race

Conversation

@michalovits

@michalovits michalovits commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

There was a race condition in the runner because we conflated two operations:

  • Claiming work (the d_remainingCount)
  • Indicating the work was done (the new d_ackedCount)

We need to finish iff the new d_ackedCount reaches the value we want.

@michalovits michalovits changed the title Separate remaining and acked counters for race in rmqperftest Separate remaining and acked counters for race in rmqperftest Nov 4, 2026
@michalovits
michalovits requested a review from a team November 4, 2026 11:55
@michalovits
michalovits merged commit 4460825 into bloomberg:main Nov 5, 2026
4 checks passed
@michalovits
michalovits deleted the rmqperftest-race branch November 5, 2026 12:44
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