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

Add ability to kill a running query #655

Closed
pauldix opened this issue Jun 17, 2014 · 5 comments
Closed

Add ability to kill a running query #655

pauldix opened this issue Jun 17, 2014 · 5 comments

Comments

@pauldix
Copy link
Member

pauldix commented Jun 17, 2014

#654 Will add functionality to see which queries are running in the cluster. We should have another query that will allow a user to kill a running query.

kill query 23 on hosta

To kill a query we'll need the host it's running on and the query id.

@tsenart
Copy link
Contributor

tsenart commented Jun 25, 2014

What is the semantic difference between killing a query and deleting a query?
Through a brief code exploration I can see we already have functionality for the later.

// in coordinator/coordinator.go:97
if query.DropQuery != nil {
    if err := self.DeleteContinuousQuery(user, database, uint32(query.DropQuery.Id)); err != nil {
        return err
    }
    continue
}
// ...

@tsenart
Copy link
Contributor

tsenart commented Jun 25, 2014

I also assume the inconsistence in naming between the query name drop and the correspondent action name delete is an artifact of technical debt.

@pauldix
Copy link
Member Author

pauldix commented Jun 25, 2014

deletes are against continuous queries. This issue is to address any kind of regular query running across the cluster.

I don't think it's possible to complete this issue without completing #654 first.

@beckettsean
Copy link
Contributor

Related to #411

@jwilder
Copy link
Contributor

jwilder commented Mar 29, 2016

Fixed via #5950

@jwilder jwilder closed this as completed Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants