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

WIP: added group hash #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

WIP: added group hash #43

wants to merge 1 commit into from

Conversation

shanedsnyder
Copy link
Contributor

In GitLab by @mdorier on Jan 9, 2021, 16:25

This PR adds a "group hash", computed and maintained up to date as follows:

hash = 0
foreach member_id in group {
    hash = xor(hash, member_id)
}

It is a preliminary addition to enable services/processes to check whether they have the same view of a group, and could be used in a future ssg_group_refresh function to issue an RDMA operation only if the hash differs.

I'm marking this PR as a WIP; it should be rebased onto master once master gets updated with the branch that adds better error codes.

Base automatically changed from master to main March 18, 2021 22:01
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