-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](Vault) Support alter s3 storage vault using http interface #37537
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
2 similar comments
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
940247c to
d108f91
Compare
|
run buildall |
TPC-H: Total hot run time: 42663 ms |
TPC-DS: Total hot run time: 175032 ms |
ClickBench: Total hot run time: 30.89 s |
9374c1c to
663b1d2
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40308 ms |
TPC-DS: Total hot run time: 174169 ms |
ClickBench: Total hot run time: 30.68 s |
| LOG(INFO) << vault_msg; | ||
| } | ||
|
|
||
| static int alter_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction> txn, |
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.
Add an UT to test it.
And refer to MetaServiceImpl::alter_obj_store_info and MetaServiceImpl::alter_instance to abstract the behavior and make as flexible as possible.
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.
Ut and regression cases would be involved in #37606.
|
Included in #37606 |
Proposed changes
Now user can alter theirs s3 storage vault's properties. Currently only ak and sk are supported.