pphust opened a new issue #11568:
URL: https://github.com/apache/druid/issues/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 lock from 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.
--
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]