You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated `run_syncdb_and_migrate_subcommands` function with retry. This
is mostly to be resilient to migration processes running concurrently
from multiple hosts. django's `migrate` command runs in its own db
transaction, so it is safe wrt concurrency, But, it still can cause
our startup script to fail. The retry mechanism adds a delay and retry.
Any earlier `migrate` commands shouldn't take more than 5 seconds. So,
the subsequent `migrate` would either be a no-op or complete the
migration.
0 commit comments