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] Optimize send path error handling #12790

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #12472

Create less of a continuation chain by handling all the exceptions in a
single coroutine.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit 9670361)
Remove the double dose of ssx::handle_shutdown_exceptions by inlining
the gate handling into a single place.

Remove the extra overhead of some lambdas and a couple of extra
continuations by handling unexpected errors and closing the gate in a
single continuation.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit 0b3fa8c)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Aug 15, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Aug 15, 2023
@rockwotj rockwotj marked this pull request as ready for review August 16, 2023 02:23
@rockwotj
Copy link
Contributor

/ci-repeat 1

@rockwotj rockwotj self-requested a review August 16, 2023 03:18
@rockwotj rockwotj merged commit 379e9b7 into redpanda-data:v23.2.x Aug 16, 2023
26 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