Fix backup/restore #12
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix-backup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tested backup and reform to confirm working with the fix
Ghost's fresh-DB first boot runs a full schema migration (dozens of CREATE TABLEs, each a separate MySQL round-trip; ~6-9min on a small/slow node). The 1m start_period + 10x30s retries (~6min grace) is too tight there: swarm marks the still-migrating task unhealthy and kills it mid-migration, leaving a stale migrations_lock row so every later task deadlocks (MigrationsAreLockedError). start_period only widens the startup grace window: a healthy check still marks the task healthy immediately, so fast hosts are unaffected. It cannot be exposed as an env var (abra validates the literal compose 'duration' format BEFORE env substitution, rejecting ${VAR} / "${VAR:-1m}" with FATA 'Does not match format duration'), so a literal bump is the only way to widen it.26ef5e6625to11bac13e30@val I am merging this in because I assume fixing backup/restore is desired and there is no official maintainer listed. but I see you were the last committer so giving a ping here too
@notplants cool, thanks. Wasn't aware that it was not working 😯
Thanks for taking care of it ♥