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

raft: refactor inflight #6513

Merged
merged 1 commit into from
Oct 4, 2016
Merged

raft: refactor inflight #6513

merged 1 commit into from
Oct 4, 2016

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Sep 23, 2016

Closing #4931

We shouldn't drop size field in inflights because we now optimize buffering depending on the size field (#6353).

/cc @xiang90

@@ -64,12 +64,17 @@ type Progress struct {
RecentActive bool

// inflights is a sliding window for the inflight messages.
// Each inflight message might contain more than one entries
Copy link
Contributor

Choose a reason for hiding this comment

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

Each inflight message contains one or more log entries. The max number of entries per message is defined in raft config as MaxSizePerMsg.

@xiang90
Copy link
Contributor

xiang90 commented Oct 4, 2016

LGTM

@gyuho gyuho merged commit 5269bbd into etcd-io:master Oct 4, 2016
@gyuho gyuho deleted the manual branch October 4, 2016 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants