Cancel queries
Bug #794933 reported by
Thomas Krause
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ANNIS |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It should be possible to cancel queries before the timeout (force the same effect as a timeout).
(Feedback from DM's group)
tags: | added: frontend service |
Changed in annis: | |
milestone: | 3.0.0-beta2 → 3.0.0 |
To post a comment you must log in.
On the service side a JDBC query can be canceled via Statement.cancel() and a rollback().
http:// stackoverflow. com/questions/ 1054642/ how-can- i-cancel- a-long- running- query-using- spring- and-jdbctemplat e
Since we are now using REST as the external service API it should be possible to abort the HTTP request and get informed about this by the Grizzley REST service.