zhannngchen commented on code in PR #34871: URL: https://github.com/apache/doris/pull/34871#discussion_r1606480311
########## be/src/olap/base_tablet.cpp: ########## @@ -538,10 +538,10 @@ Status BaseTablet::lookup_row_key(const Slice& encoded_key, bool with_seq_col, continue; } - if (UNLIKELY(segment_caches[i] == nullptr)) { + if (LIKELY(segment_caches[i] == nullptr)) { Review Comment: should be UNLIKELY -- 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