gavinchou commented on code in PR #44120:
URL: https://github.com/apache/doris/pull/44120#discussion_r1847840876
##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -1642,6 +1642,8 @@ void
MetaServiceImpl::get_tablet_stats(::google::protobuf::RpcController* contro
#ifdef NDEBUG
// Force data size >= 0 to reduce the losses caused by bugs
if (tablet_stats->data_size() < 0) tablet_stats->set_data_size(0);
+ if (tablet_stats->index_size() < 0) tablet_stats->set_index_size(0);
Review Comment:
what is the relationship between data_size, index_size and segment_size
do we need a separate segment_size?
##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -1642,6 +1642,8 @@ void
MetaServiceImpl::get_tablet_stats(::google::protobuf::RpcController* contro
#ifdef NDEBUG
// Force data size >= 0 to reduce the losses caused by bugs
if (tablet_stats->data_size() < 0) tablet_stats->set_data_size(0);
+ if (tablet_stats->index_size() < 0) tablet_stats->set_index_size(0);
Review Comment:
what is the relationship between data_size, index_size and segment_size
--
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]