Skip to content

Commit

Permalink
remove unused field (#31293)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-trieu committed May 27, 2024
1 parent 2719ca7 commit e764fc9
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.util.Optional;
import java.util.Random;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
Expand Down Expand Up @@ -210,8 +209,6 @@ public class StreamingDataflowWorker {
private final long clientId;
private final MetricTrackingWindmillServerStub metricTrackingWindmillServer;

private final java.util.concurrent.ConcurrentLinkedQueue<CounterUpdate> pendingMonitoringInfos =
new ConcurrentLinkedQueue<>();
// Map from stage name to StageInfo containing metrics container registry and per stage counters.
private final ConcurrentMap<String, StageInfo> stageInfoMap;

Expand Down Expand Up @@ -1218,9 +1215,6 @@ private void process(
LOG.error(e.toString());
}

Iterables.addAll(
this.pendingMonitoringInfos, executionState.workExecutor().extractMetricUpdates());

commitCallbacks.putAll(executionState.context().flushState());

// Release the execution state for another thread to use.
Expand Down

0 comments on commit e764fc9

Please sign in to comment.