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

Skip register shard that are already registered #127

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

seanses
Copy link
Collaborator

@seanses seanses commented Dec 18, 2024

In both situations where writing protected shard obtained from CAS server and local generated shard to disk, the shard hash is computed from the entire file content obtained from HashedWrite, thus shards with the same file name means exactly same content, and therefore there's no need to re-register.

@seanses seanses merged commit ee466f8 into main Dec 18, 2024
2 checks passed
@seanses seanses deleted the di/fix-register-shard branch December 18, 2024 22:37
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

Successfully merging this pull request may close these issues.

3 participants