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

refactor(paxos): generalize quorum logic #1583

Merged
merged 1 commit into from
Nov 22, 2024
Merged

refactor(paxos): generalize quorum logic #1583

merged 1 commit into from
Nov 22, 2024

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Nov 21, 2024

Copy link

cloudflare-workers-and-pages bot commented Nov 21, 2024

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: e20aaee
Status: ✅  Deploy successful!
Preview URL: https://81b55f4e.hydroflow.pages.dev
Branch Preview URL: https://pr1583.hydroflow.pages.dev

View logs

let c_new_payloads_when_restart = restart_this_tick.clone().flat_map(q!(move |_| (0
..num_clients_per_node)
.map(move |i| (
(CLUSTER_SELF_ID.raw_id * (num_clients_per_node as u32)) + i as u32,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, multiple clients would clobber each-other's keys.

@shadaj shadaj force-pushed the pr1583 branch 3 times, most recently from 3d4d628 to 091e6a1 Compare November 22, 2024 01:08
@shadaj
Copy link
Member Author

shadaj commented Nov 22, 2024

Merging without review since this didn't touch core Paxos logic other than extracting common logic David is busy with a paper.

@shadaj shadaj merged commit ec55910 into main Nov 22, 2024
27 checks passed
@shadaj shadaj deleted the pr1583 branch November 22, 2024 22:25
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.

1 participant