Uh oh!
There was an error while loading. Please reload this page.
[fix](vault) Fix bugs about altering storage vault name - #45685
Conversation
hello-stephen
commented
Dec 20, 2024
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
swjtu-zhanglei
commented
Dec 20, 2024
run buildall |
| } | ||
| static int alter_s3_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction> txn, | ||
| static int alter_s3_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction>& txn, |
There was a problem hiding this comment.
warning: function 'alter_s3_storage_vault' exceeds recommended size/complexity thresholds [readability-function-size]
staticintalter_s3_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction>& txn,
^Additional context
cloud/src/meta-service/meta_service_resource.cpp:654: 130 lines including whitespace and comments (threshold 80)
staticintalter_s3_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction>& txn,
^doris-robot
commented
Dec 20, 2024
TPC-H: Total hot run time: 39897 ms |
doris-robot
commented
Dec 20, 2024
TPC-DS: Total hot run time: 196967 ms |
doris-robot
commented
Dec 20, 2024
ClickBench: Total hot run time: 33.53 s |
d5cd146 to
200e666Compareswjtu-zhanglei
commented
Dec 23, 2024
run buildall |
200e666 to
1dcce20Compareswjtu-zhanglei
commented
Dec 23, 2024
run buildall |
doris-robot
commented
Dec 23, 2024
TPC-H: Total hot run time: 39758 ms |
doris-robot
commented
Dec 23, 2024
TPC-DS: Total hot run time: 195955 ms |
doris-robot
commented
Dec 23, 2024
ClickBench: Total hot run time: 33.79 s |
1dcce20 to
49f85f9Compareswjtu-zhanglei
commented
Dec 24, 2024
run buildall |
doris-robot
commented
Dec 24, 2024
TPC-H: Total hot run time: 40243 ms |
doris-robot
commented
Dec 24, 2024
TPC-DS: Total hot run time: 196911 ms |
49f85f9 to
70c82aaCompareswjtu-zhanglei
commented
Dec 24, 2024
run buildall |
doris-robot
commented
Dec 24, 2024
TPC-H: Total hot run time: 39852 ms |
doris-robot
commented
Dec 24, 2024
TPC-DS: Total hot run time: 189786 ms |
doris-robot
commented
Dec 24, 2024
ClickBench: Total hot run time: 32.43 s |
| optional bool default_storage_vault_replaced = 3; | ||
| // storage_vault_name maybe changed, so return new storage_vault_name | ||
| optional string storage_vault_name = 4; |
There was a problem hiding this comment.
redundant vault name, using the name in request
There was a problem hiding this comment.
redundant vault name, using the name in request
done
| return false; | ||
| } | ||
| static int alter_hdfs_storage_vault(InstanceInfoPB& instance, std::unique_ptr<Transaction>& txn, |
* fix altering storage name but not writing disk in meta-service * check vault if existed when altering stoarge vault name
70c82aa to
a2a1c3bCompareswjtu-zhanglei
commented
Dec 25, 2024
run buildall |
doris-robot
commented
Dec 25, 2024
TPC-H: Total hot run time: 32408 ms |
doris-robot
commented
Dec 25, 2024
TPC-DS: Total hot run time: 196210 ms |
doris-robot
commented
Dec 25, 2024
ClickBench: Total hot run time: 31.24 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
| "VAULT_NAME" = "${hdfsVaultName}" | ||
| ); | ||
| """ | ||
| }, "vault name no change") |
There was a problem hiding this comment.
vault name no change -> unable to use the original vault name?
* fix altering storage name but not writing disk in meta-service * check vault if existed when altering stoarge vault name
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)