"clean" command works incorrectly #1107
Labels
priority: normal
The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.
type: bug
The issue is a confirmed bug.
Here is the command I was using:
I did various tests, and it looks like:
it does not correctly report the number of cleaned (removed) actions - it consistently shows a higher number than it actually removed (for example, on a small DB 88 actions were removed from the
_actions
table, while CLI reported 101; same with bigger DB).it does not remove actions that are satisfying the filtering criteria:
After running the command above I still see actions that are older than 31 days, and they have a
failed
status. According to my command - they should be deleted.It does not remove all records of associated log entries from the
_logs
table.So I see log entries referencing
action_id
that was removed.I think the
clean
command should purge such records as well.Old claims are not deleted too.
There are no custom filters that modify AS behavior to affect the results above.
The text was updated successfully, but these errors were encountered: