OIiveirra commented on code in PR #68726:
URL: https://github.com/apache/doris/pull/68726#discussion_r4237009702
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/scan/FederationBackendPolicy.java:
##########
@@ -234,11 +245,8 @@ public Multimap<Backend, Split>
computeScanRangeAssignment(List<Split> splits) t
Collections.shuffle(splits, new Random(FIXED_SHUFFLE_SEED));
List<Split> remainingSplits;
+ Map<String, List<Backend>> activeBackendMap = activeBackendMap();
Review Comment:
Fixed in 85e1f4f019c. The backend host map is cached and refreshed during
initialization and replaceBackendOrder(), so streamed single-split assignments
no longer rebuild it. Host matching still uses only the active candidate
subset, and round-robin continues to use the initialized list order.
FederationBackendPolicyTest passes all 12 tests, including repeated batches and
excluded locality candidates. The full focused FE run passes 18 tests and Maven
Checkstyle.
--
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]