Repository navigation
docs: warn against head-local foreign db_path with ext.volumes (#65) - #66
Merged
Merged
Conversation
A volume-backed DB whose db_path resolves to a head-local mount path is treated by Nextflow's FilePorter as a foreign file and bulk-copied to the (S3) work dir on the head before any task launches — a 16-34 GB upload that can stall and deadlock the run (db channel (queue) OPEN, no tasks submitted). nf-spawn does no head work and can't intercept Nextflow's head-side staging; the fix is in pipeline config (db_path that the work dir need not localize). Document the caveat in the ext.volumes reference-data section. Refs #65
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Docs-only follow-up to #65 (closed as not-planned — it's pipeline config, not an nf-spawn defect).
Adds a warning to the
ext.volumes"Delivering reference data" section: if the head mounts the DB anddb_pathresolves to that head-local path, Nextflow's FilePorter treats it as a foreign file and bulk-copies the whole DB (16–34 GB) up to the S3 work dir on the head before any task launches — which can stall and deadlock the run (dbchannel(queue) OPEN, no tasks submitted).The note makes explicit that:
db_pathshould resolve to something the work dir need not localize (work-dir filesystem, pre-stageds3://, or not routed through a head-localizedpathchannel).Sits right after the existing "head node also needs the DB" guidance, which previously told you to mount it on the head without warning about this consequence. CHANGELOG
Documentationnote added.Refs #65.