Handle occasional deadlocks in trigger with retries (#24071)
Handle occasional deadlocks in trigger with retries (#24071)

Fixes: #23639
Acehaidrey/incubator-airflow,nathanielvarona/airflow,apache/airflow,nathanielvarona/airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,apache/airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,cfei18/incubator-airflow,cfei18/incubator-airflow,apache/airflow,cfei18/incubator-airflow,apache/airflow,danielvdende/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,nathanielvarona/airflow,nathanielvarona/airflow,Acehaidrey/incubator-airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,apache/airflow,Acehaidrey/incubator-airflow,apache/airflow,cfei18/incubator-airflow