-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[fix](backup) Automatic adapt upload/download snapshot batch size #44560
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
4872233
to
a566779
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…4560) The original `backup_upload_task_num_per_be` and `restore_download_task_num_per_be` would not adapt the different num of snapshots, a large `UploadTask` or `DownloadTask` might exceed the threshold of `thrift_max_message_size` and failed forever. This PR changes these options to adapt the number of snapshots automatically.
…4560) The original `backup_upload_task_num_per_be` and `restore_download_task_num_per_be` would not adapt the different num of snapshots, a large `UploadTask` or `DownloadTask` might exceed the threshold of `thrift_max_message_size` and failed forever. This PR changes these options to adapt the number of snapshots automatically.
…tch size #44560 (#44639) Cherry-picked from #44560 Co-authored-by: walter <[email protected]>
…4560) The original `backup_upload_task_num_per_be` and `restore_download_task_num_per_be` would not adapt the different num of snapshots, a large `UploadTask` or `DownloadTask` might exceed the threshold of `thrift_max_message_size` and failed forever. This PR changes these options to adapt the number of snapshots automatically.
…tch size #44560 (#44641) Cherry-picked from #44560 Co-authored-by: walter <[email protected]>
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
The original
backup_upload_task_num_per_be
andrestore_download_task_num_per_be
would not adapt the different num of snapshots, a largeUploadTask
orDownloadTask
might exceed the threshold ofthrift_max_message_size
and failed forever.This PR changes these options to adapt the number of snapshots automatically.
Release note
None
Check List (For Author)
Test
Behavior changed:
Now each the number of snapshots assigned to a download/upload task is limited, and no num limitations of download/upload tasks are applied.
Does this need documentation?
Add restore_download_snapshot_batch_size/backup_upload_snapshot_batch_size config doris-website#1409
Check List (For Reviewer who merge this PR)