Skip to content

KAFKA-2300: Error in controller log when broker tries to rejoin cluster#212

Closed
fpj wants to merge 11 commits intoapache:trunkfrom
fpj:2300
Closed

KAFKA-2300: Error in controller log when broker tries to rejoin cluster#212
fpj wants to merge 11 commits intoapache:trunkfrom
fpj:2300

Conversation

@fpj
Copy link
Copy Markdown
Contributor

@fpj fpj commented Sep 14, 2015

I have reopened this issue because the controller isn't cleaning up the state upon an exception and the test case was legitimately failing for me every now and then. I'm proposing a change to fix this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: both clear() and resign() have side effects, so we need the parentheses.
Other than this, LGTM.

@asfbot
Copy link
Copy Markdown

asfbot commented Sep 14, 2015

kafka-trunk-git-pr #423 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Sep 19, 2015

kafka-trunk-git-pr #451 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Sep 20, 2015

kafka-trunk-git-pr #453 FAILURE
Looks like there's a problem with this pull request

@fpj
Copy link
Copy Markdown
Contributor Author

fpj commented Sep 20, 2015

Test failure is unrelated to the latest change (I have only added parentheses):

kafka.producer.ProducerTest > testSendWithDeadBroker FAILED
    java.lang.AssertionError: Message set should have 1 message
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at kafka.producer.ProducerTest.testSendWithDeadBroker(ProducerTest.scala:260)

@asfgit asfgit closed this in 9ae9868 Sep 21, 2015
omkreddy pushed a commit to omkreddy/kafka that referenced this pull request Aug 3, 2019
This stopped working when we migrated this code to Gradle in the
`confluentinc/kafka` repository. Previously, the version.properties
file was populated by `Maven`. Rely on post-processing of the kafka
version instead.

Without this change, the basic collector is basically broken as the
server will reject messages that have `${project.version}` as the
version.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
jsancio pushed a commit to jsancio/kafka that referenced this pull request Aug 6, 2019
…pache#212)


Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>
omkreddy pushed a commit to omkreddy/kafka that referenced this pull request Jan 7, 2020
This stopped working when we migrated this code to Gradle in the
`confluentinc/kafka` repository. Previously, the version.properties
file was populated by `Maven`. Rely on post-processing of the kafka
version instead.

Without this change, the basic collector is basically broken as the
server will reject messages that have `${project.version}` as the
version.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
efeg pushed a commit to efeg/kafka that referenced this pull request Jan 29, 2020
Allow entities that has more than the required valid windows to be included in the aggregation, even if they have more than the max allowed extrapolations.
xiowu0 pushed a commit to xiowu0/kafka that referenced this pull request Dec 9, 2021
… new moveController API (apache#212)

TICKET = N/A
LI_DESCRIPTION =
Recently we added the moveController API to the KafkaAdminClient,
which caused some tests in the RequestQuotaTest to fail.
This PR fixes the broken tests by recognizing the new LI_MOVE_CONTROLLER API key.

EXIT_CRITERIA = this change has the same exit criteria as the
original PR that addes the moveController API.
wyuka pushed a commit to wyuka/kafka that referenced this pull request Mar 16, 2022
This is a squash of 2 commits in 2.4-li
- 7820050 [LI-HOTFIX] Add the move controller RPC (apache#211)
- 8c0345a [LI-HOTFIX] Fixing the broken tests in RequestQuotaTest caused by the new moveController API (apache#212)

TICKET = LIKAFKA-37769
LI_DESCRIPTION =
In order to make Kafka SOX compliant, all of the znodes need to be protected with ACLS and become writable only by kafka-server. This means the ktool cluster move-controller command will be rejected.

To continue supporting the ktool command above, this PR adds a new moveController API to the KafkaAdminClient.
EXIT_CRITERIA = We can deprecate this PR if either of the following two conditions is met
1. this change is merged in upstream
2. a new equivalent API is added upstream that works based on the Raft-based controller quorum, and we are deprecating zookeeper.

Co-authored-by: Lucas Wang <luwang@linkedin.com>
wyuka pushed a commit to wyuka/kafka that referenced this pull request Mar 28, 2022
This is a squash of 2 commits in 2.4-li
- 7820050 [LI-HOTFIX] Add the move controller RPC (apache#211)
- 8c0345a [LI-HOTFIX] Fixing the broken tests in RequestQuotaTest caused by the new moveController API (apache#212)

TICKET = LIKAFKA-37769
LI_DESCRIPTION =
In order to make Kafka SOX compliant, all of the znodes need to be protected with ACLS and become writable only by kafka-server. This means the ktool cluster move-controller command will be rejected.

To continue supporting the ktool command above, this PR adds a new moveController API to the KafkaAdminClient.
EXIT_CRITERIA = We can deprecate this PR if either of the following two conditions is met
1. this change is merged in upstream
2. a new equivalent API is added upstream that works based on the Raft-based controller quorum, and we are deprecating zookeeper.

Co-authored-by: Lucas Wang <luwang@linkedin.com>
wyuka pushed a commit to wyuka/kafka that referenced this pull request Jun 16, 2022
This is a squash of 2 commits in 2.4-li
- 7820050 [LI-HOTFIX] Add the move controller RPC (apache#211)
- 8c0345a [LI-HOTFIX] Fixing the broken tests in RequestQuotaTest caused by the new moveController API (apache#212)

TICKET = LIKAFKA-37769
LI_DESCRIPTION =
In order to make Kafka SOX compliant, all of the znodes need to be protected with ACLS and become writable only by kafka-server. This means the ktool cluster move-controller command will be rejected.

To continue supporting the ktool command above, this PR adds a new moveController API to the KafkaAdminClient.
EXIT_CRITERIA = We can deprecate this PR if either of the following two conditions is met
1. this change is merged in upstream
2. a new equivalent API is added upstream that works based on the Raft-based controller quorum, and we are deprecating zookeeper.

Co-authored-by: Lucas Wang <luwang@linkedin.com>
davide-armand pushed a commit to aiven/kafka that referenced this pull request Dec 1, 2025
* INK-142: GCS support

* chore: splitting the docker compose file
jeqo pushed a commit to aiven/kafka that referenced this pull request Jan 16, 2026
* INK-142: GCS support

* chore: splitting the docker compose file
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.

4 participants