yiguolei commented on code in PR #67019:
URL: https://github.com/apache/doris/pull/67019#discussion_r3946437794


##########
be/src/storage/index/zone_map/zone_map_index.h:
##########
@@ -66,6 +68,18 @@ struct ZoneMap {
 
     bool has_nan = false;
 
+    // True when a string bound was cut to MAX_ZONE_MAP_INDEX_SIZE bytes. A 
cut max is bumped by
+    // one byte to stay above the real value, and that bump used to wrap: 
"aa..a\xff" was stored
+    // as "aa..a\x00", below the value it covers. Old segments keep that bad 
max until they are
+    // rewritten, so a cut bound must never prove that every row matches.
+    bool has_cut_string_bounds() const {

Review Comment:
   让外部感知这个事情不太好。 这个cut 是zonemap index 自己创建的行为,外界不应该感知到



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