You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Rob Vesse (JIRA)" <ji...@apache.org> on 2013/01/14 13:40:13 UTC

[jira] [Commented] (JENA-382) SPARQL Updates are not cancelable

    [ https://issues.apache.org/jira/browse/JENA-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552615#comment-13552615 ] 

Rob Vesse commented on JENA-382:
--------------------------------

Branch created at Experimental/cancellable-updates
                
> SPARQL Updates are not cancelable
> ---------------------------------
>
>                 Key: JENA-382
>                 URL: https://issues.apache.org/jira/browse/JENA-382
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>            Reporter: Rob Vesse
>            Assignee: Rob Vesse
>              Labels: cancellation, sparql, transactions, update
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Currently queries are cancelable but updates are not.  Updates are just of capable of running awry especially since some of them can embed queries within them.  In general any update that generates a large amount of data can result in a long running update.
> Therefore we should make it possible to cancel updates, my rough proposal for this is as follows:
> 1 - Provide a cancel() method on UpdateProcessor
> 2 - Provide a cancel() method on individual update commands so a processor can cancel() whichever is currently running
> When updates are cancelled it must be treated as if updates failed and the transaction should be rolled back or marked as uncommittable as appropriate.
> I will create a SVN branch to experiment on this feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira