github-actions[bot] commented on code in PR #35647:
URL: https://github.com/apache/doris/pull/35647#discussion_r1620323269
##########
be/src/olap/base_tablet.cpp:
##########
@@ -52,6 +52,8 @@ bvar::PerSecond<bvar::Adder<uint64_t>>
g_tablet_pk_not_found_per_second(
"doris_pk", "lookup_not_found_per_second", &g_tablet_pk_not_found, 60);
bvar::LatencyRecorder g_tablet_update_delete_bitmap_latency("doris_pk",
"update_delete_bitmap");
+static bvar::Adder<size_t> g_total_tablet_num("doris_total_tablet_num");
Review Comment:
warning: 'g_total_tablet_num' is a static definition in anonymous namespace;
static is redundant here [readability-static-definition-in-anonymous-namespace]
```suggestion
bvar::Adder<size_t> g_total_tablet_num("doris_total_tablet_num");
```
--
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]