Fixing Cache Miss: 10 failed copy attempts
I have workflows that have tasks that don't depend on specific inputs (for example something like GetBwaVersion in the WGS pipeline). I frequently run into the problem that these tasks don't call cache because other users are running the same task and I don't have permission to copy their outputs (Cache Miss: 10 failed copy attempts).
One potential solution to this would be to put a dummy variable as an input to the task that is a String that only I would use, such as my workspace name or UUID of the workspace, or even my username. Is there a way to grab that kind of information from Terra to use as an input to the pipeline? I'm hoping I can type something like workspace.uuid or wokspace.name into the inputs in Terra and pull something specific to that workspace. Does that exist?
Comments
4 comments
Hi Megan,
Thanks for writing in and for detailing your issue. I could definitely see that being a good solution for getting around the cache miss situation, making your task more unique so you can successfully cache from your previous runs.
The workspace.name variable already exists by default and you can definitely pass this into your workflow as input in the method configuration.
I hope this helps!
Kind regards,
Jason
That's amazing, thank you Jason Cerrato! I will try that out right now.
Hey Megan,
Just wanted to check in here and see if that ended up working for you. Let me know!
Kind regards,
Jason
It did, thank you so much!
Please sign in to leave a comment.