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

KAFKA-5216 fix error on peekNextKey in cached window/session store iterators #3016

Closed
wants to merge 2 commits into from

Conversation

xvrl
Copy link
Member

@xvrl xvrl commented May 10, 2017

Copy link
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

LGTM

@asfbot
Copy link

asfbot commented May 11, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/3740/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented May 11, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/3734/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented May 11, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3730/
Test PASSed (JDK 8 and Scala 2.12).

Copy link
Contributor

@dguy dguy left a 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 {
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Contributor

@guozhangwang guozhangwang left a 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 !

@asfgit asfgit closed this in da0b5b8 May 12, 2017
@asfbot
Copy link

asfbot commented May 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3831/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented May 12, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/3843/
Test PASSed (JDK 7 and Scala 2.11).

asfgit pushed a commit that referenced this pull request May 12, 2017
guozhangwang mjsax dguy

Author: Xavier Léauté <xavier@confluent.io>

Reviewers: Damian Guy, Matthias J. Sax, Guozhang Wang

Closes #3016 from xvrl/kafka-5216
Copy link
Contributor

@guozhangwang guozhangwang left a 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.

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.

5 participants