github-actions[bot] commented on code in PR #38685:
URL: https://github.com/apache/doris/pull/38685#discussion_r1711102217
##########
cloud/src/meta-service/meta_service_resource.cpp:
##########
@@ -510,13 +519,124 @@ static void set_default_vault_log_helper(const
InstanceInfoPB& instance,
LOG(INFO) << vault_msg;
}
+static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
Review Comment:
warning: function 'alter_hdfs_storage_vault' exceeds recommended
size/complexity thresholds [readability-function-size]
```cpp
static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
^
```
<details>
<summary>Additional context</summary>
**cloud/src/meta-service/meta_service_resource.cpp:521:** 107 lines
including whitespace and comments (threshold 80)
```cpp
static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
^
```
</details>
##########
cloud/src/meta-service/meta_service_resource.cpp:
##########
@@ -510,13 +519,123 @@ static void set_default_vault_log_helper(const
InstanceInfoPB& instance,
LOG(INFO) << vault_msg;
}
+static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
Review Comment:
warning: function 'alter_hdfs_storage_vault' exceeds recommended
size/complexity thresholds [readability-function-size]
```cpp
static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
^
```
<details>
<summary>Additional context</summary>
**cloud/src/meta-service/meta_service_resource.cpp:521:** 106 lines
including whitespace and comments (threshold 80)
```cpp
static int alter_hdfs_storage_vault(InstanceInfoPB& instance,
std::unique_ptr<Transaction> txn,
^
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]