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: recovery hangs when using TERMINATE ALL #6397

Merged
merged 2 commits into from
Oct 9, 2020

Conversation

agavra
Copy link
Contributor

@agavra agavra commented Oct 9, 2020

Description

fixes #6390

this PR now properly handles TERMINATE ALL. I checked to see if I could do this without "hacking" the fact that the QueryId is ALL but it would require parsing the statement, which would require quite a few changes (like passing the engine into the compactor, which doesn't sound right). Anything else (changing the CommandId) is not backwards compatible.

Testing done

Unit test

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 #")

@agavra agavra requested a review from a team as a code owner October 9, 2020 17:30
@agavra agavra requested a review from rodesai October 9, 2020 17:30
Copy link
Contributor

@rodesai rodesai left a comment

Choose a reason for hiding this comment

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

LGTM!

@agavra agavra merged commit 7a57b3c into confluentinc:master Oct 9, 2020
@agavra agavra deleted the fix_terminate_all branch October 9, 2020 19:50
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.

terminate all does not apply terminates when the service is restarted
2 participants