Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private boolean hasBeenLoadBalanced(int partitionId) {
* @param exclusiveServers
* @return
*/
public boolean updatePartitionSplitAssignment(
public boolean tryNextServerForSplitPartition(
int partitionId, List<ShuffleServerInfo> exclusiveServers) {
if (hasBeenLoadBalanced(partitionId)) {
Set<ShuffleServerInfo> servers =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,11 @@ protected long getRecordCount() {
return recordCounter.get();
}

@VisibleForTesting
protected void resetRecordCount() {
recordCounter.set(0);
}

public long getBlockCount() {
return blockCounter.get();
}
Expand Down
Loading
Loading