incubator-airflow/airflow/cli
Ash Berlin-Taylor dcdc7c1fa9
Pre-create Celery db result tables before running Celery worker (#9719)
Otherwise at large scale this can end up with some tasks failing as they
try to create the result table at the same time.

This was always possible before, just exceedingly rare, but in large
scale performance testing where I create a lot of tasks quickly
(especially in my HA testing) I hit this a few times.

This is also only a problem for fresh installs/clean DBs, as once these
tables exist the possible race goes away.

This is the same fix from #8909, just for runtime, not test time.
2020-07-09 19:40:17 +01:00
..
commands Pre-create Celery db result tables before running Celery worker (#9719) 2020-07-09 19:40:17 +01:00
__init__.py [AIRFLOW-6714] Remove magic comments about UTF-8 (#7338) 2020-02-02 22:18:19 +01:00
cli_parser.py Add more info on dry-run CLI option (#9582) 2020-06-30 10:04:25 +02:00