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

[v23.2.x] Fix misappropriate use of mutex::get_units in usage based billing #12766

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #12755
Fixes: #12764,

@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Aug 12, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Aug 12, 2023
@graphcareful graphcareful marked this pull request as ready for review August 14, 2023 18:15
@graphcareful
Copy link
Contributor

Rebased adding a character to the commit message to trigger CI as there was an issue that wouldn't resolve when clicking the manual rebuild button

- Without the co_await preceeding the call to get_units() within the
context of a coroutine the value of units is holding a future

- This may result in an exceptional future ignored error as this future
will never be waited on.

- Fixes: redpanda-data#12733

(cherry picked from commit fac579e)
@graphcareful graphcareful merged commit 4ffbd61 into redpanda-data:v23.2.x Aug 15, 2023
25 checks passed
@BenPope BenPope modified the milestones: v23.2.x-next, v23.2.6 Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants