Skip to content

Fix retry classification for Azure request timeouts - #111179

Closed
qiuyanjun888 wants to merge 1 commit into
ClickHouse:masterfrom
qiuyanjun888:fix-110724-azure-timeout-retry
Closed

qiuyanjun888 wants to merge 1 commit into
ClickHouse:masterfrom
qiuyanjun888:fix-110724-azure-timeout-retry

Conversation

@qiuyanjun888

Copy link
Copy Markdown
Contributor

Closes: #110724

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Transient Azure Blob Storage request timeouts are now retried instead of being treated as non-retryable errors that can mark healthy MergeTree data parts as potentially broken.

@arsenmuk

Copy link
Copy Markdown
Member

Thanks for tackling this! #105891 now also covers the request-timeout → 408 case from #110724 — it applies both fixes the issue suggests: the root fix (the Poco transport throws Azure::Core::Http::TransportException for a timeout instead of fabricating a synthetic 408) and the minimal isRetryableAzureException 408-retryable net that you have here, plus a failpoint-based integration test. Since #105891 modifies the same isRetryableAzureException, the two will conflict — would you be open to closing this in favour of #105891? Happy to credit your fix. — Arsen

@qiuyanjun888

Copy link
Copy Markdown
Contributor Author

Thanks for tackling this! #105891 now also covers the request-timeout → 408 case from #110724 — it applies both fixes the issue suggests: the root fix (the Poco transport throws Azure::Core::Http::TransportException for a timeout instead of fabricating a synthetic 408) and the minimal isRetryableAzureException 408-retryable net that you have here, plus a failpoint-based integration test. Since #105891 modifies the same isRetryableAzureException, the two will conflict — would you be open to closing this in favour of #105891? Happy to credit your fix. — Arsen

Sure, I will close this PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transient Azure connect timeout is misclassified as non-retryable and causes POTENTIALLY_BROKEN_DATA_PART for healthy parts

2 participants