-
Notifications
You must be signed in to change notification settings - Fork 14k
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
KAFKA-5216 fix error on peekNextKey in cached window/session store iterators #3016
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Test | ||
public void shouldPeekNextKey2() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we just replace the shouldPeekNextKey
with this one since its coverage seems to be the "superset" of the old one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they both check different code paths, shouldPeekNextKey checks the code path here https://github.com/apache/kafka/pull/3016/files#diff-6ea5070fb98ce2270ef8a94a2eb14511L133 vs. shouldPeekNextKey2 checks the code path here https://github.com/apache/kafka/pull/3016/files#diff-6ea5070fb98ce2270ef8a94a2eb14511R137
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged to trunk. Thanks @xvrl !
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
guozhangwang mjsax dguy Author: Xavier Léauté <xavier@confluent.io> Reviewers: Damian Guy, Matthias J. Sax, Guozhang Wang Closes #3016 from xvrl/kafka-5216
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also cherry-picked to 0.10.2.
@guozhangwang @mjsax @dguy