github-actions[bot] commented on code in PR #70999:
URL: https://github.com/apache/doris/pull/70999#discussion_r4691065173
##########
fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java:
##########
@@ -886,6 +928,9 @@ protected void createScanRangeLocations() throws
UserException {
scanRangeLocations = Lists.newArrayList();
querySelectionPreferredHitTablets = 0;
Review Comment:
[P2] Avoid coordinating shared key-range samples twice when cloud snapshot
versions are disabled. `createScanRangeLocations()` invokes
`coordinateSharedKeyRangeSamples()` in this configuration, and `ScanNode`
always calls `updateScanRangeVersions()` during fragment splitting; the new
`updateScanRangeVersions()` invokes the coordinator again. This repeats one or
more BE sampling RPCs per RANDOM partition and lets a transient second-call
failure abort a plan after the first call succeeded. Coordinate only after the
final versions are known or mark the partitions as already coordinated.
--
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]