github-advanced-security[bot] commented on code in PR #19700:
URL: https://github.com/apache/druid/pull/19700#discussion_r3604387826
##########
server/src/main/java/org/apache/druid/indexing/overlord/supervisor/SupervisorSpec.java:
##########
@@ -148,4 +148,14 @@
{
return true;
}
+
+ /**
+ * Returns true if replacing this (running) spec with {@code proposedSpec}
should roll over (stop and
+ * republish) the currently running tasks, false if the existing tasks
should be left running as-is.
+ * Invoked on the running spec; default is conservative (always roll over).
+ */
+ default boolean shouldRolloverTasksOnRestart(SupervisorSpec proposedSpec)
Review Comment:
## CodeQL / Useless parameter
The parameter 'proposedSpec' is never used.
[Show more
details](https://github.com/apache/druid/security/code-scanning/11348)
--
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]