Skip to content

Increase the default value of the retries for S3 - #89051

Merged
nikitamikhaylov merged 6 commits into
masterfrom
increase-retry-attempts
Oct 28, 2025
Merged

nikitamikhaylov merged 6 commits into
masterfrom
increase-retry-attempts

Conversation

@nikitamikhaylov

@nikitamikhaylov nikitamikhaylov commented Oct 27, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

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

Set default s3_retry_attempts to 500 for 25.6 to make sure backups succeed when there's an S3 repartitioning and S3 responds with slow-down errors for more than 10 minutes.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh

clickhouse-gh Bot commented Oct 27, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1ef6031]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_asan, old analyzer, 4/6) failure
test_scheduler_cpu_preemptive/test.py::test_downscaling[cpu-slot-preemption-timeout-1ms] FAIL cidb
OOM in dmesg FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-improvement Pull request with some product improvements label Oct 27, 2025
@nikitamikhaylov
nikitamikhaylov force-pushed the increase-retry-attempts branch from 8cbfcc9 to 2b40fb7 Compare October 27, 2025 16:50
@jkartseva jkartseva self-assigned this Oct 28, 2025

@jkartseva jkartseva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nikitamikhaylov

Copy link
Copy Markdown
Member Author

Integration tests (amd_asan, old_analyzer): #88807

@nikitamikhaylov
nikitamikhaylov added this pull request to the merge queue Oct 28, 2025
Merged via the queue into master with commit 358c48e Oct 28, 2025
@nikitamikhaylov
nikitamikhaylov deleted the increase-retry-attempts branch October 28, 2025 09:52
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 28, 2025
@robot-ch-test-poll1 robot-ch-test-poll1 added pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Oct 28, 2025
{
{"correlated_subqueries_default_join_kind", "left", "right", "New setting. Default join kind for decorrelated query plan."},
{"use_statistics_cache", 0, 0, "New setting"},
{"s3_retry_attempts", 500, 500, "Changed the value of the obsolete setting"},

@CheSema CheSema Oct 29, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be it should be 100 -> 500 here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CheSema No, I want the setting to be changed regardless of the compatibility value.

@CheSema

CheSema commented Oct 22, 2026

Copy link
Copy Markdown
Member

The description is about backups.
For them we have dedicated backup_restore_s3_retry_attempts setting.
s3_retry_attempts is for the ordinary queries.

Are we sure that we need 40mins of retries here? with 100 tries it no longer than 8.5 minutes.
May be we should revise what settings backup use and make use it uses backup_restore_s3_retry_attempts not s3_retry_attempts.

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

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-improvement Pull request with some product improvements pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants