[Compile][Bug] Fix FE compilation bug (#4979)

[Bug] Fix compile failed that cannot find symbol for variable scanRangeLength, Introduced by #4914 #4912
This commit is contained in:
Mingyu Chen
2020-11-28 16:19:54 +08:00
committed by GitHub
parent 4c63dc0027
commit f944bf4d44

View File

@ -1311,12 +1311,12 @@ public class Coordinator {
if (!execHostPort.hostname.equals(minLocation.server.hostname) ||
execHostPort.port != minLocation.server.port) {
assignedBytesPerHost.put(minLocation.server,
assignedBytesPerHost.get(minLocation.server) - scanRangeLength);
assignedBytesPerHost.get(minLocation.server) - step);
Long id = assignedBytesPerHost.get(execHostPort);
if (id == null) {
assignedBytesPerHost.put(execHostPort, 0L);
} else {
assignedBytesPerHost.put(execHostPort, id+scanRangeLength);
assignedBytesPerHost.put(execHostPort, id + step);
}
}
this.addressToBackendID.put(execHostPort, backendIdRef.getRef());