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

Improve automatic identification of missing objects on a remote from git reference #2977

Open
effigies opened this issue Jan 23, 2024 · 2 comments
Labels

Comments

@effigies
Copy link
Contributor

What would you like to see added?

S3 export failures are relatively slow to identify, and it seems like git-annex should be able to use knowledge of the remote to do something more efficient than git annex fsck --fast.

Alternatives

No response

Do you have any interest in helping implement the feature?

No

Additional information / screenshots

No response

@nellh
Copy link
Contributor

nellh commented Jan 23, 2024

Did some more investigation since we discussed this and I think this is what we needed here. This is faster and I was able to scan every dataset on OpenNeuro in about one day.

git annex find --branch=$(git describe --tags --abbrev=0) --in=here --not --in=s3-PUBLIC

@yarikoptic
Copy link
Contributor

so may be to add that on cron to done once in a while to catch a case whenever git-annex fails to produce a file on S3, so we have something to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants