Skip to content

MINOR: NetworkClient#disconnect should not erase connection info#3309

Closed
cmccabe wants to merge 3 commits intoapache:trunkfrom
cmccabe:disc
Closed

MINOR: NetworkClient#disconnect should not erase connection info#3309
cmccabe wants to merge 3 commits intoapache:trunkfrom
cmccabe:disc

Conversation

@cmccabe
Copy link
Copy Markdown
Contributor

@cmccabe cmccabe commented Jun 12, 2017

NetworkClient#disconnect should not erase the connection information. This will allow exponential
backoff to occur.

NetworkClient#disconnect should not erase the connection information.  This will allow exponential
backoff to occur.
Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

Would it be possible to add a simple unit test?

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 13, 2017

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

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 13, 2017

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

@cmccabe
Copy link
Copy Markdown
Contributor Author

cmccabe commented Jun 13, 2017

Good idea. I added a unit test.

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 13, 2017

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

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 13, 2017

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

Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, LGTM. Can you please fix the unused import checkstyle error?

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 14, 2017

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

@asfbot
Copy link
Copy Markdown

asfbot commented Jun 14, 2017

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

asfgit pushed a commit that referenced this pull request Jun 14, 2017
NetworkClient#disconnect should not erase the connection information.  This will allow exponential
backoff to occur.

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #3309 from cmccabe/disc

(cherry picked from commit d099c74)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
@asfgit asfgit closed this in d099c74 Jun 14, 2017
@cmccabe cmccabe deleted the disc branch May 20, 2019 19:01
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.

3 participants