From datasources menu of Druid console, I have found "Delete unused segments(issue kill task)" but it does not work properly.
When I click it, the killing task is always pending and can not be executed.
Affected Version:
0.20.1.
I guess the earlier version has similar problem.
Description:
I have checked the coordinator log and records in druid_tasklocks table. The root cause is that killing task is trying to acquire time lock of 1000/3000, which is hardcoded in web-console/src/views/datasource-view/datasource-view.tsx.
But the time trunk is too large and part of it has been locked by realtime ingesting task. So the killing task will never be executed.
I can submit killing task through -XDELETE /druid/coordinator/v1/datasources/{dataSourceName}/intervals/{interval} to reslove the probelm. But I think here the lock interval should be changed to 1000/current time or other sth.
From datasources menu of Druid console, I have found "Delete unused segments(issue kill task)" but it does not work properly.
When I click it, the killing task is always pending and can not be executed.
Affected Version:
0.20.1.
I guess the earlier version has similar problem.
Description:
I have checked the coordinator log and records in druid_tasklocks table. The root cause is that killing task is trying to acquire time lock of 1000/3000, which is hardcoded in web-console/src/views/datasource-view/datasource-view.tsx.
But the time trunk is too large and part of it has been locked by realtime ingesting task. So the killing task will never be executed.
I can submit killing task through -XDELETE /druid/coordinator/v1/datasources/{dataSourceName}/intervals/{interval} to reslove the probelm. But I think here the lock interval should be changed to 1000/current time or other sth.