Deleting old XCom entrys does not work #43341
-
Trying to clear old entries as some DAGs passes some larger json objects, and the database is getting unneccessary large. I have an cleanup task that runs, tells me the number of entries to be deleted, but the delete action does not delete the entries. My code from my dev environment (using minute to ensure I get some data to delete):
My log:
As seen, 462 entires should be deleted, but it does not do that. Running my dag again just show that 462 is up for delete.... What do I miss here? Airflow 2.9.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind....forgot the session.commit()...... |
Beta Was this translation helpful? Give feedback.
Never mind....forgot the session.commit()......