asdf2014 commented on a change in pull request #6621: Enforce logging when
killing a task
URL: https://github.com/apache/incubator-druid/pull/6621#discussion_r233697723
##########
File path:
extensions-contrib/materialized-view-maintenance/src/main/java/org/apache/druid/indexing/materializedview/MaterializedViewSupervisor.java
##########
@@ -346,7 +346,8 @@ void checkSegmentsAndSubmitTasks()
&&
!toBuildInterval.get(interval).equals(runningVersion.get(interval))
) {
if (taskMaster.getTaskQueue().isPresent()) {
-
taskMaster.getTaskQueue().get().shutdown(runningTasks.get(interval).getId());
+ taskMaster.getTaskQueue().get().shutdown(
+ runningTasks.get(interval).getId(), "version mismatch");
Review comment:
There is no need to break this down into a new line.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]