Actions
Bug #23814
closedforeman-rake foreman_tasks:cleanup does not remove tasks from foreman_tasks_locks table
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1585890
#foreman-rake foreman_tasks:cleanup does not remove tasks from foreman_tasks_locks table
#su - postgres -c "psql foreman -c 'select * from foreman_tasks_tasks'" |wc -l
19
#su - postgres -c "psql foreman -c 'select * from foreman_tasks_locks'"|wc -l
1125
#foreman-rake foreman_tasks:cleanup TASK_SEARCH="" AFTER=1d
After executing the cleanup script, below is the status of the tasks:
su - postgres -c "psql foreman -c 'select * from foreman_tasks_tasks'" |wc -l
17
su - postgres -c "psql foreman -c 'select * from foreman_tasks_locks'"|wc -l
1125
Expectation to delete old task from foreman_tasks_locks table.
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/foreman-tasks/pull/341 added
Updated by Ivan Necas almost 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 38aac7efc3de59e474f3848ccd70841507ade46f.
Actions