github-actions[bot] commented on code in PR #31750:
URL: https://github.com/apache/doris/pull/31750#discussion_r1511057306


##########
be/src/cloud/cloud_meta_mgr.cpp:
##########
@@ -55,6 +62,7 @@ namespace {
 constexpr int kBrpcRetryTimes = 3;
 
 static bvar::LatencyRecorder _get_rowset_latency("doris_CloudMetaMgr", 
"get_rowset");
+static bvar::LatencyRecorder 
g_cloud_commit_txn_resp_redirect_latency("cloud_table_stats_report_latency");

Review Comment:
   warning: 'g_cloud_commit_txn_resp_redirect_latency' is a static definition 
in anonymous namespace; static is redundant here 
[readability-static-definition-in-anonymous-namespace]
   
   ```suggestion
   bvar::LatencyRecorder 
g_cloud_commit_txn_resp_redirect_latency("cloud_table_stats_report_latency");
   ```
   



-- 
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]

Reply via email to