Taragolis commented on issue #29687:
URL: https://github.com/apache/airflow/issues/29687#issuecomment-1441477492

   `0` is stands for disable deleting "old" rendered templates from the DB:
   - This delete query would never run, in Postgres (⚠️ my opinion) this query 
just slow however in MySQL it also could cause deadlocks. 
   - Rendered fields would be accessible in the UI "forever" (until settings 
changed to some value greater that `0`)
   - As result size of `rendered_task_instance_fields` would growth
   
   
https://github.com/apache/airflow/blob/78115c5ca995be6f0e06f68b4d97f7c270c16685/airflow/models/renderedtifields.py#L206-L209
   
   There is also [discussion exists in 
dev-list](https://lists.apache.org/thread/jfzxq6xf8z5ss11hjl1yn41dd4mvk7cm), 
unfortunetly I do not have a time to check the long-term behaviour of Airflow 
DB in case of MySQL I would be appreciate if you share you result 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to