mjsax commented on code in PR #20512:
URL: https://github.com/apache/kafka/pull/20512#discussion_r2337328688


##########
streams/src/main/java/org/apache/kafka/streams/internals/metrics/OpenIterators.java:
##########
@@ -48,10 +51,11 @@ public OpenIterators(final TaskId taskId,
 
     public void add(final MeteredIterator iterator) {
         openIterators.add(iterator);
+        updateOldestStartTimestamp();

Review Comment:
   While I was reviewing the PR, I also though about this, but though it's not 
worth doing, as creating iterators should not happen with very high frequency?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to