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

Document limitations of interrupting a query #979

Open
danielmewes opened this issue Dec 11, 2015 · 0 comments
Open

Document limitations of interrupting a query #979

danielmewes opened this issue Dec 11, 2015 · 0 comments

Comments

@danielmewes
Copy link
Member

http://rethinkdb.com/docs/system-jobs/ briefly mentions terminating queries:

The jobs table [...] allows you to kill query jobs by deleting them from the table.

I think we should elaborate on that a little bit and note that not all queries will terminate immediately. Specifically, many queries will only get terminated the next time they emit a result, but not earlier.
A typical example is r.table(...).count(), which will never get terminated before its done, since it only emits a single result at the end.
See rethinkdb/rethinkdb#5197 for another example.

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

1 participant