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

ClickHouse queries keeps running after cancelling #4410

Closed
WesleyBatista opened this issue Nov 28, 2019 · 2 comments
Closed

ClickHouse queries keeps running after cancelling #4410

WesleyBatista opened this issue Nov 28, 2019 · 2 comments

Comments

@WesleyBatista
Copy link
Contributor

Issue Summary

ClickHouse queries doesn't get cancelled when user click the cancel button.

Steps to Reproduce

  1. Submit a long running query for execution on a clickhouse datasource;
  2. Try to cancel the query clicking on the cancel button;
  3. Go to the clickhouse-client cli and run show processlist to list see the query still running.

The submitted query should not appear on the show processlist.

Technical details:

  • Redash Version: 8.0.0+b32245 (a16f551)
  • Browser/OS: Chrome/Ubuntu
  • How did you install Redash: docker
@WesleyBatista
Copy link
Contributor Author

WesleyBatista commented Nov 28, 2019

BTW, if you got here you might be interested on this:

kill query where query_id = '<query_id_from_show_processlist>'

@konnectr
Copy link
Collaborator

This is Clickhouse's problem. Clickhouse can't always cancel a request. It can only cancel the request at a certain point in time.

@konnectr konnectr closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2023
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

No branches or pull requests

2 participants