Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallel get from datalad archive gives error #7558

Open
bpinsard opened this issue Feb 6, 2024 · 0 comments
Open

parallel get from datalad archive gives error #7558

bpinsard opened this issue Feb 6, 2024 · 0 comments

Comments

@bpinsard
Copy link
Contributor

bpinsard commented Feb 6, 2024

What is the problem?

running datalad get -J 8 . in a dataset with a single datalad archive will give the following error:

[git-annex: .git/annex/tmp/MD5E-s8351481--f35cc3878536756c8567cc9d2421f6e6.7z: removeLink: does not exist (No such file or directory)]

but it do not raises errors without the -J 8 flag.

My 2cent is that one worker tries to get the archive, while another tries to get a file from the archive thus gets the archive too, causing conflict.

While getting files from a single archive is clearly not parallelizable, getting files with glob from multiple archives in parallel could make sense.

What steps will reproduce the problem?

create a dataset, add an archive, add archive content, push archive to a remote, drop all, try parallel get.

DataLad information

datalad 0.19.5

Additional context

No response

Have you had any success using DataLad before?

indeed ;D

@bpinsard bpinsard changed the title parallel get from datalad archive gives errors parallel get from datalad archive gives error Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant