Repository navigation
Prevent server termination when unregistering S3 client fails - #101798
Conversation
|
Gagan Dhakrey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Let's check with @CheSema, maybe the intent was to call |
|
Workflow [PR], commit [0cd525a] Summary: ❌
AI ReviewSummaryThis PR removes a ClickHouse Rules
Final Verdict
|
CheSema
left a comment
There was a problem hiding this comment.
No, it was not intentionally. It is mistake.
|
CI did not pass because there were no changelog category in description. I will retrigger it |
…' into fix/s3-client-destructor-crash-fix
This reverts commit 1ecbf99.
|
The The bug was reverted by PR #102247 (merged at ~14:48 UTC). All nessie/lakekeeper test failures between these two merges are unrelated to this PR. |
LLVM Coverage Report
Changed lines: 60.00% (3/5) · Uncovered code |
fd4ff46
Backport #101798 to 26.1: Prevent server termination when unregistering S3 client fails
Backport #101798 to 26.2: Prevent server termination when unregistering S3 client fails
Backport #101798 to 26.3: Prevent server termination when unregistering S3 client fails
Backport #101798 to 25.8: Prevent server termination when unregistering S3 client fails
Linked issues
Prevents the server from terminating (
std::terminate) when an exception is thrown during S3 client cache unregistration. Thethrow;statement was erroneously placed within thecatchblock ofClient::~Client(), which is anoexceptdestructor.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix exception escaping from S3
Client::~Clientdestructor causing server termination.StackOverflow similar issue link: https://stackoverflow.com/questions/40455741/why-c11-mark-destructors-as-nothrow-and-is-it-possible-to-override-it?#:~:text=Destructors%20are%20called,override%20the%20default.
...
Documentation entry for user-facing changes
Version info
26.4.1.81426.3.7.8,26.2.11.5,26.1.8.35,25.8.24.10