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


##########
be/src/olap/tablet.cpp:
##########
@@ -1438,6 +1439,10 @@ void Tablet::build_tablet_report_info(TTabletInfo* 
tablet_info,
     
tablet_info->__set_is_in_memory(_tablet_meta->tablet_schema()->is_in_memory());
     tablet_info->__set_replica_id(replica_id());
     tablet_info->__set_remote_data_size(_tablet_meta->tablet_remote_size());
+    tablet_info->__set_is_cooldown(!_tablet_meta->storage_policy().empty());
+    if (tablet_info->is_cooldown()) {
+        
tablet_info->__set_cooldown_replica_id(_tablet_meta->cooldown_replica_id());
+    }
 }
 
 // should use this method to get a copy of current tablet meta

Review Comment:
   warning: called object type 'bool' is not a function or function pointer 
[clang-diagnostic-error]
   ```cpp
   et_info->is_cooldown()) {
                       ^
   ```
   



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