You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Delete unused segments(issue kill task)" on console does not work properly #11568
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.
Activity
FrankChen021 commentedon Aug 10, 2021
I opened this issue in #10508. But it seems that it has been resolved since 0.21 and I can't remember which PR resolved it.
lejinghu commentedon Jul 2, 2022
The issue has not been resolved and can still be found in 0.22.1
vogievetsky commentedon Nov 29, 2022
I believe #13431 fixed this!