Cancel queries

Bug #794933 reported by Thomas Krause
6
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)

Thomas Krause (krause)
tags: added: frontend service
Revision history for this message
Thomas Krause (krause) wrote :

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-jdbctemplate

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.

Thomas Krause (krause)
Changed in annis:
milestone: 3.0.0-beta2 → 3.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.