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

fix: Ensures background timer completes for scalable push queries #8132

Merged

Conversation

AlanConfluent
Copy link
Member

Description

The Vertx timer which is used to ensure connections with other nodes in the cluster correctly checks if the handle has been closed, but the condition for isClosed only considered if there was an error, not if it had been manually closed as when the connection is closed.

Testing done

Called it in unit tests and manually verified.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@AlanConfluent AlanConfluent requested a review from a team as a code owner September 15, 2021 02:27
@AlanConfluent AlanConfluent changed the title Fix: Ensures background timer completes for scalable push queries fix: Ensures background timer completes for scalable push queries Sep 15, 2021
Copy link
Member

@nateab nateab left a comment

Choose a reason for hiding this comment

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

LGTM!

@AlanConfluent AlanConfluent merged commit 1a1297a into confluentinc:master Sep 15, 2021
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.

None yet

2 participants