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.3.x] Fix http client segfault in metrics_reporter #22318

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Jul 25, 2024

Backport of PR #21579

ztlpn added 3 commits July 25, 2024 13:55
In case of exceptions, destroying the client may not be safe because the
underlying output stream may not be fully flushed.

(cherry picked from commit 35fa28b)
It just calls client->stop() (which will make the client unusable and
we need to call anyway before the client is destroyed), so remove it
to avoid confusion.

(cherry picked from commit 59a42de)
@ztlpn ztlpn added this to the v23.3.x-next milestone Jul 25, 2024
@ztlpn ztlpn added the kind/backport PRs targeting a stable branch label Jul 25, 2024
@ztlpn ztlpn changed the title [v23.3.x] Fix http client segfault in [v23.3.x] Fix http client segfault in metrics_reporter Jul 25, 2024
@ztlpn ztlpn requested a review from mmaslankaprv July 25, 2024 12:07
@ztlpn ztlpn marked this pull request as ready for review July 25, 2024 12:08
@piyushredpanda piyushredpanda merged commit 8d69740 into redpanda-data:v23.3.x Jul 26, 2024
18 checks passed
@BenPope BenPope modified the milestones: v23.3.x-next, v23.3.19 Aug 2, 2024
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.

3 participants