broadinstitute / cromwell

Scientific workflow engine designed for simplicity & scalability. Trivially transition between one off use cases to massive scale production environments
http://cromwell.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
987 stars 357 forks source link

Enabling soft links for Dockerized jobs #2620

Open pmalshe opened 6 years ago

pmalshe commented 6 years ago

Benefits of using symlinks over hard-links:

cpavanrun commented 5 years ago

With the new caching heuristic for generating File input hashes (path+modtime) relies on soft-linking for it to work correctly. Having soft-links disabled by design when containerizing a task makes this option mood.

I consider it weird that a config option has a hard-override within cromwell... leave it up to users to configure their backend.

rhpvorderman commented 5 years ago

With the new caching heuristic for generating File input hashes (path+modtime) relies on soft-linking for it to work correctly. Having soft-links disabled by design when containerizing a task makes this option mood.

The hash is calculated based on the original path. Not on the relocalized path. So this should not be an issue.