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

state: replication: raft: Tweak params to allow nodes to sync #870

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

joeykraut
Copy link
Member

@joeykraut joeykraut commented Dec 20, 2024

Purpose

Currently, when syncing with the leader, followers receive AppendEntries requests that are too large to deserialize and store within the timeout.

So, this PR tweaks the append entries timeout to be higher and makes the leader's log purge strategy more aggressive.

Testing

  • Testing in testnet

Currently, when syncing with the leader, followers receive
`AppendEntries` requests that are too large to deserialize and store
within the timeout.

So, this PR tweaks the append entries timeout to be higher and makes the
leader's log purge strategy more aggressive.
@joeykraut joeykraut requested a review from akirillo December 20, 2024 19:43
@joeykraut joeykraut marked this pull request as ready for review December 20, 2024 19:43
@joeykraut joeykraut merged commit 1a646e1 into main Dec 20, 2024
3 of 4 checks passed
@joeykraut joeykraut deleted the joey/tweak-raft-params branch December 20, 2024 19:56
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