AmatyaAvadhanula commented on code in PR #13144:
URL: https://github.com/apache/druid/pull/13144#discussion_r989143654
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java:
##########
@@ -3244,6 +3275,40 @@ private void checkCurrentTaskState() throws
ExecutionException, InterruptedExcep
Futures.successfulAsList(futures).get(futureTimeoutInSeconds,
TimeUnit.SECONDS);
}
+ private void checkIfStreamInactiveAndTurnSupervisorIdle()
+ {
+ if (!spec.getSupervisorStateManagerConfig().isEnableIdleBehaviour()
+ || !spec.getIoConfig().isEnableIdleBehaviour()) {
+ return;
Review Comment:
Could you please add a check to see if it is suspended?
If not, a SUSPENDED supervisor could be shown as IDLE.
While this doesn't affect ingestion, it could be misleading to the user
--
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]