zhijiangW commented on a change in pull request #10083:
[FLINK-14472][runtime]Implement back-pressure monitor with non-blocking outputs.
URL: https://github.com/apache/flink/pull/10083#discussion_r344000979
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/legacy/backpressure/BackPressureStatsTrackerImpl.java
##########
@@ -157,70 +112,44 @@ public long getCleanUpInterval() {
synchronized (lock) {
final OperatorBackPressureStats stats =
operatorStatsCache.getIfPresent(vertex);
if (stats == null || backPressureStatsRefreshInterval
<= System.currentTimeMillis() - stats.getEndTimestamp()) {
- triggerStackTraceSampleInternal(vertex);
+ triggerBackPressureRequestInternal(vertex);
}
return Optional.ofNullable(stats);
}
}
/**
- * Triggers a stack trace sample for a operator to gather the back
pressure
- * statistics. If there is a sample in progress for the operator, the
call
+ * Triggers a back pressure request for a operator to gather the back
pressure
Review comment:
operator -> vertex
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services