abhishekrb19 commented on code in PR #16362:
URL: https://github.com/apache/druid/pull/16362#discussion_r1588592529
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/AbstractFixedIntervalTask.java:
##########
@@ -77,10 +77,15 @@ protected AbstractFixedIntervalTask(
@Override
public boolean isReady(TaskActionClient taskActionClient) throws Exception
+ {
+ return isReady(taskActionClient, TaskLockType.EXCLUSIVE);
+ }
+
+ protected boolean isReady(TaskActionClient taskActionClient, TaskLockType
taskLockType) throws Exception
Review Comment:
@IgorBerman, I see, you can just call the public getter `getInterval()` from
the base class which is already used by the kill task
--
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]