Skip to content

KAFKA-6731: waitOnState should check the state to be the target start.#4808

Merged
guozhangwang merged 1 commit intoapache:trunkfrom
huxihx:KAFKA-6731
Apr 2, 2018
Merged

KAFKA-6731: waitOnState should check the state to be the target start.#4808
guozhangwang merged 1 commit intoapache:trunkfrom
huxihx:KAFKA-6731

Conversation

@huxihx
Copy link
Copy Markdown
Contributor

@huxihx huxihx commented Apr 2, 2018

https://issues.apache.org/jira/browse/KAFKA-6731

KafkaStreams.waitOnState() should check the state to be the given one instead of the hard-coded NOT_RUNNING.

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

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

https://issues.apache.org/jira/browse/KAFKA-6731

KafkaStreams.waitOnState() should check the state to be the given one instead of the hard-coded `NOT_RUNNING`.
@huxihx
Copy link
Copy Markdown
Contributor Author

huxihx commented Apr 2, 2018

@guozhangwang Please review this minor patch. Thanks.

@guozhangwang guozhangwang merged commit b8f8ce4 into apache:trunk Apr 2, 2018
@mjsax mjsax added the streams label Apr 2, 2018
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Apr 2, 2018

@guozhangwang I think we should cherry-pick to older branches, too. 1.1 and 1.0 are also subject to this bug.

guozhangwang pushed a commit that referenced this pull request Apr 2, 2018
#4808)

KafkaStreams.waitOnState() should check the state to be the given one instead of the hard-coded `NOT_RUNNING`.

Reviewers: Guozhang Wang <wangguoz@gmail.com>
guozhangwang pushed a commit that referenced this pull request Apr 2, 2018
#4808)

KafkaStreams.waitOnState() should check the state to be the given one instead of the hard-coded `NOT_RUNNING`.

Reviewers: Guozhang Wang <wangguoz@gmail.com>
@guozhangwang
Copy link
Copy Markdown
Contributor

@mjsax yup, just did.

ijuma added a commit to confluentinc/kafka that referenced this pull request Apr 25, 2018
* confluent/1.1: (60 commits)
  MINOR: Fix kafka-run-class for Java 10 (apache#4895)
  KAFKA-6772: Load credentials from ZK before accepting connections (apache#4867)
  KAFKA-6742: TopologyTestDriver error when dealing with stores from GlobalKTable
  MINOR: Mention that -1 disables retention by time (apache#4881)
  KAFKA-6790: Fix Streams processor node broken link (apache#4874)
  MINOR: Java 10 fixes so that the build passes (apache#4839)
  MINOR: Update Jackson to 2.9.5 (apache#4776)
  MINOR: Downgrade to Gradle 4.5.1 (apache#4791)
  MINOR: Java 9/10 fixes, gradle and minor deps update (apache#4725)
  KAFKA-6752: Enable unclean leader election metric (apache#4838)
  KAFKA-6054: Fix upgrade path from Kafka Streams v0.10.0 (apache#4773)
  KAFKA-6747 Check whether there is in-flight transaction before aborting transaction (apache#4826)
  KAFKA-6748: double check before scheduling a new task after the punctuate call (apache#4827)
  KAFKA-6739; Ignore headers when down-converting from V2 to V0/V1 (apache#4813)
  KAFKA-6728: Corrected the worker’s instantiation of the HeaderConverter
  KAFKA-6731: waitOnState should check the state to be the target start. (apache#4808)
  HOTFIX: Enforce a rebalance upon task migration (apache#4802)
  MINOR: Remove 1.2.0 changes from streams doc (apache#4784)
  MINOR: Update version numbers to 1.1.1-SNAPSHOT
  MINOR: Fix ReassignPartitionsClusterTest.testHwAfterPartitionReassignment test (apache#4781)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants