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


##########
be/src/olap/wal/wal_info.cpp:
##########
@@ -32,7 +32,7 @@ std::string WalInfo::get_wal_path() {
     return _wal_path;
 }
 
-int64_t WalInfo::get_retry_num() {
+int32_t WalInfo::get_retry_num() {

Review Comment:
   warning: method 'get_retry_num' can be made const 
[readability-make-member-function-const]
   
   ```suggestion
   int32_t WalInfo::get_retry_num() const {
   ```
   
   be/src/olap/wal/wal_info.h:25:
   ```diff
   -     int32_t get_retry_num();
   +     int32_t get_retry_num() const;
   ```
   



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to