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

c/members_member: don't ignore update_broker_client future #15738

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

rockwotj
Copy link
Contributor

@rockwotj rockwotj commented Dec 18, 2023

A new clang tidy check I'm developing caught that we're not awaiting for
the future f to finish. I've converted it into a coroutine and
co_awaited this future, which I assume is the intended semantics.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

  • none

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
A new clang tidy check I'm developing caught that we're not awaiting for
the future `f` to finish. I've converted it into a coroutine and
co_awaited this future, which I assume is the intended semantics.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
}

auto f = update_broker_client(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously, f was never awaited upon. I'm not sure if that was intended to be backgrounded, or if we want to wait for it, I'm assuming we should wait for it, (hence coroutinizing this method) but if the intention is to background it, then I'll happily replace this with ssx::backgrounded

@piyushredpanda piyushredpanda merged commit cb85590 into redpanda-data:dev Dec 19, 2023
20 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

@vbotbuildovich
Copy link
Collaborator

/backport v23.2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants