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

Use CRC32 for the replication protocol #897

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Use CRC32 for the replication protocol #897

wants to merge 3 commits into from

Conversation

carlhoerberg
Copy link
Member

WHAT is this pull request doing?

Uses CRC32 instead of SHA1 for calculating file hashes, for a follower to compare if they got all files or not.

HOW can this pull request be tested?

Specs

@carlhoerberg
Copy link
Member Author

Should maintain backwards compatibility with older followers that only support sha1.

@carlhoerberg carlhoerberg marked this pull request as ready for review January 3, 2025 14:07
@carlhoerberg carlhoerberg requested a review from a team as a code owner January 3, 2025 14:07
It's about 7 times faster than SHA1, and has similar or better
characteristics for identifying file changes.
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.

2 participants