"Complete Tasks" in Overlord console doesn't show any tasks


I have a question.

When I visit Overlord console, I can’t see any completed tasks like this:

I’m wondering how can resolve this. I can’t see any error logs which seems to be related to this problem.

Currently, druid_tasks table in meta DB has 100k rows. Are 100k rows too many to show completed tasks? and Is it safe to delete old tasks to reduce rows?



It should be safe to delete old tasks.

100k may be too high, try confirming how long it takes to query the druid_tasks table, you can check getInactiveStatusesSince in MetadataStorageActionHandler to see the query being made by Druid when it requests the complete tasks.