This repository was archived by the owner on Apr 4, 2026. It is now read-only.
fix(backfill): fix docker compose timing and add worker improvements#71
Merged
Conversation
- Fix docker-compose.backfill.yml missing depends_on for backfill-worker - Change depends_on condition from service_started to service_completed_successfully to prevent race condition where worker starts before queue finishes populating - Add --exit-on-complete flag to worker to exit cleanly when backfill completes - Add --idle-timeout flag to configure how long to wait before considering complete - Add deploy.replicas support for scaling workers via BACKFILL_WORKERS env var - Update README, development.md, and docker-hub.md with new backfill options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docker-compose.backfill.ymlmissingdepends_onfor worker (caused instant completion)service_startedtoservice_completed_successfully(fixes race condition)--exit-on-completeand--idle-timeoutflags to workerBACKFILL_WORKERSenv var for scaling viadeploy.replicasChanges
Docker Compose:
--scale backfill-worker=4orBACKFILL_WORKERS=4Worker CLI: