xvrl commented on a change in pull request #11417:
URL: https://github.com/apache/druid/pull/11417#discussion_r667132720



##########
File path: 
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java
##########
@@ -3658,6 +3665,25 @@ private boolean checkOffsetAvailability(
            && 
makeSequenceNumber(earliestOffset).compareTo(makeSequenceNumber(offsetFromMetadata))
 <= 0;
   }
 
+  protected void emitNoticesQueueSize()
+  {
+    if (spec.isSuspended() || !stateManager.isSteadyState()) {
+      // don't emit metrics if supervisor is suspended or not in a healthy 
running state
+      // (lag should still available in status report)

Review comment:
       would it still make sense to keep emitting queue size if the supervisor 
is not in steady state? It would still have to process all the notices in the 
queue once it resumes or becomes healthy again, no?




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to