Skip to content

Conversation

@mik-laj
Copy link
Member

@mik-laj mik-laj commented May 30, 2021

We had a race condition when the containers were started. All airflow-* containers were started simultaneously, but airflow-worker, airflow-scheduler and airflow-webserver require the database to be initialized first. This was sometimes done before the containers were started, but sometimes the container referred to a table that was not migrated. Now the database is always initialized before the rest of the containers are started.

Example: https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1621711385211600
CC: @marclamberti
PS. I working on examples for other configuration: https://github.com/mik-laj/airflow-docker-compose-examples


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label May 30, 2021
@github-actions
Copy link

The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest master or amend the last commit of the PR, and push it with --force-with-lease.

@mik-laj mik-laj requested a review from potiuk May 31, 2021 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:documentation okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants