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]KAFKA-8733 Initial sketch of the solution mentioned in KIP-501. #7802

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

satishd
Copy link
Member

@satishd satishd commented Dec 9, 2019

Leader partition maintains follower replica state which is added with pending fetch requests that are to be processed for fetch offsets >= log-end-offset in the
earlier fetch request. Follower replica is considered to be insync if there are any such pending fetch requests.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

if (x <= 0) throw new IllegalStateException("value should not be < 0")
else {
if (x > 1) delegate.put(offset, x - 1)
true
Copy link
Contributor

Choose a reason for hiding this comment

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

When x==1, there is no adjustment ?

@satishd satishd force-pushed the KAFKA-8733 branch 3 times, most recently from 2d10e73 to 235c79a Compare June 21, 2021 09:09
Leader partition maintains follower replica state which is added with pending fetch requests that are to be processed for fetch offsets >= log-end-offset in the earlier fetch request. Follower replica is considered to be insync if there are any such pending fetch requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants