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


##########
gensrc/thrift/HeartbeatService.thrift:
##########
@@ -68,6 +68,8 @@ struct TBackendInfo {
     10: optional i64 be_mem // The physical memory available for use by BE.
     // Reserved for the Paimon Rust reader and aligned with its branch-4.1 
forward-port.
     11: optional bool supports_paimon_rust_reader
+    12: optional bool supports_fixed_block_sampling_v1

Review Comment:
   [P1] Allocate a fresh heartbeat field ID for sampling
   
   Field 12 is already `supports_native_file_encryption` on the target branch, 
including the pinned base `0d16233c2c97`. Both fields are `bool`, so an 
existing BE advertising that capability is silently decoded by the new 
`HeartbeatMgr` as supporting fixed-block sampling. The `Backend`/`OlapScanNode` 
capability checks can then schedule `FIXED_BLOCK` scans on a BE that ignores 
`sample_options` and reads whole tablets, invalidating the declared inclusion 
probabilities and removing the intended scan bound. Preserve the existing 
allocation and reserve unused IDs for the sampling capabilities before merging.



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