Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-382

SPARQL Updates are not cancelable

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rvesse Rob Vesse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 336h
                  336h
                  Remaining:
                  Remaining Estimate - 336h
                  336h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified