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

[v24.3.x] archival: Handle nested shutdown errors #24940

Open
wants to merge 1 commit into
base: v24.3.x
Choose a base branch
from

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #24927

Nested exceptions are treated as shutdown errors only if both inner and
outer exceptions are shutdown errors. But sometimes the connections are
closed during the shutdown and the disconnect error is triggered. In
this case the exception is reported as true error. This increases the
noise level and complicates log monitoring.

This commit changes nested exception handling. If one of the exceptions
is a shutdown error and another one is a disconnect exception (broken
pipe) the error is treated as a shutdown error.

Signed-off-by: Evgeny Lazin <[email protected]>
(cherry picked from commit 01ee010)
@vbotbuildovich vbotbuildovich added this to the v24.3.x-next milestone Jan 27, 2025
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 27, 2025
@vbotbuildovich vbotbuildovich requested a review from Lazin January 27, 2025 13:37
@Lazin Lazin enabled auto-merge January 27, 2025 13:38
@vbotbuildovich
Copy link
Collaborator Author

CI test results

test results on build#61217
test_id test_kind job_url test_status passed
rptest.tests.delete_records_test.DeleteRecordsTest.test_delete_records_concurrent_truncations.cloud_storage_enabled=True.truncate_point=start_offset ducktape https://buildkite.com/redpanda/redpanda/builds/61217#0194a83f-6e74-4fab-baf7-2d9422a9ca13 FLAKY 1/2
rptest.tests.partition_force_reconfiguration_test.NodeWiseRecoveryTest.test_node_wise_recovery.dead_node_count=1 ducktape https://buildkite.com/redpanda/redpanda/builds/61217#0194a844-a488-43b6-af04-de04fdc0eef6 FLAKY 1/2

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.

2 participants