Skip to content

Simplify Leader Quorum Calculations for Commit and Prepare Phases - #4813

Closed
GheisMohammadi wants to merge 6 commits into
devfrom
refactor/quorom
Closed

Simplify Leader Quorum Calculations for Commit and Prepare Phases#4813
GheisMohammadi wants to merge 6 commits into
devfrom
refactor/quorom

Conversation

@GheisMohammadi

Copy link
Copy Markdown
Collaborator

This PR simplifies the leader quorum calculation process for the commit and prepare phases by leveraging the State structure to store the last quorum-achieved block. Previously, the quorum status was checked dynamically, which could lead to inaccuracies under certain conditions. By using a state-based approach, the process becomes more efficient and reliable, ensuring better consistency in quorum handling.

@sophoah

sophoah commented Dec 12, 2024

Copy link
Copy Markdown
Contributor

are streamsync manager code intended to be in as well ?

@GheisMohammadi

Copy link
Copy Markdown
Collaborator Author

are streamsync manager code intended to be in as well ?

No, it only moves SafeMap to common folder to be able to be used everywhere

@sophoah

sophoah commented Jan 24, 2025

Copy link
Copy Markdown
Contributor

cc @Frozen

@sophoah

sophoah commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

@Frozen thanks for review/approval

@sophoah

sophoah commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

@GheisMohammadi please fix conflict
@Frozen please review/approve

@sophoah

sophoah commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

@GheisMohammadi please fix the travis CI run

@GheisMohammadi
GheisMohammadi requested a review from sunhyuk05 July 16, 2025 22:01
@GheisMohammadi
GheisMohammadi force-pushed the refactor/quorom branch 4 times, most recently from 7755aa9 to 064fb0e Compare July 18, 2025 14:02
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