[Opt](Coordinator) Don't shuffle scan range locations when performing scan range assignments. (#27268)
Currently same query will scan different bytes in each instance in a single node environment. Don't shuffle scan range locations when performing scan range assignments to avoid it.
This commit is contained in:
@ -2194,7 +2194,6 @@ public class Coordinator implements CoordInterface {
|
||||
// only analysis olap scan node
|
||||
continue;
|
||||
}
|
||||
Collections.shuffle(locations);
|
||||
Set<Integer> scanNodeIds = fragmentIdToScanNodeIds.computeIfAbsent(scanNode.getFragmentId(),
|
||||
k -> Sets.newHashSet());
|
||||
scanNodeIds.add(scanNode.getId().asInt());
|
||||
|
||||
Reference in New Issue
Block a user