Skip to content

Conversation

@klsince
Copy link
Contributor

@klsince klsince commented Aug 24, 2022

Add query cancel APIs on controller to easily show running queries across the cluster and cancel them

Release Note

Added two controller APIs to show running queries and cancel query as identified by (brokerId, qureyId).

  1. GET /queries: to show running queries as tracked by all brokers
  2. DELETE /query/{brokerId}/{queryId}[?verbose=false/true]: to cancel a running query with the provided queryId on the targeted broker. The verbose is false by default, but if set to true, responses from servers running the query also return.

@Jackie-Jiang Jackie-Jiang added feature release-notes Referenced by PRs that need attention when compiling the next release notes labels Aug 24, 2022
Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

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

LGTM

@Jackie-Jiang Jackie-Jiang merged commit 7d9dcdf into apache:master Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature release-notes Referenced by PRs that need attention when compiling the next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants