-
-
Notifications
You must be signed in to change notification settings - Fork 782
Closed
Labels
Milestone
Description
SUMMARY
Garbage collector is not cleaning up records in task_execution_d_b
STACKSTORM VERSION
st2 3.5.0, on Python 3.6.8
OS, environment, install method
Issue is related to DB
Steps to reproduce the problem
Show how to reproduce the problem, using a minimal test-case. Make sure to include any content
(pack content - workflows, actions, etc.) which are needed to reproduce the problem.
Set garbage collector conf to remove all action execution records after X days. You can see that records in task_execution_d_b are not getting cleaned up as per the GC setting
Expected Results
St2 DB should not have records older than the TTL set in st2.conf.
Actual Results
taskexecution_d_b is not cleaned up leading to GBs of stale data in DB and causing perf issues
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!