Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-473

Add ACID UPDATE operations to NanoSparqlServer (PUT methods)

    Details

      Description

      Implement ACID UPDATE semantics in the REST API supported by the NanoSparqlServer as described at [1].

      There are at least two ways to construct ACID UPDATE semantics:

      1. One is to provide additional methods and URL query parameters for working with transactions:

      - createTx => txid
      - commitTx(txid)
      - abortTx(txid)
      - other methods accept a "&txid=..." query parameter.
      

      The other is as described at [1] and uses a PUT operation which combines a DELETE request specifying a QUERY of statements to be removed or a multi-part request body including both the statements to be retracted and the statements to be retracted.

      My initial inclination is to simply implement the two PUT methods described. These are straightforward and have the advantage that they achieve ACID semantics without requiring the use of timestamps to support full read/write transactions internally.

      [1] https://sourceforge.net/apps/mediawiki/bigdata/index.php?title=NanoSparqlServer#UPDATE_.28DELETE_.2B_INSERT.29

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        Bug fix where mutation connections in the NanoSparqlServer servlets were failing to do an explicit rollback() on an error path.

        Added ACID PUT request, which is documented here [1].

        [1] https://sourceforge.net/apps/mediawiki/bigdata/index.php?title=NanoSparqlServer#UPDATE_.28DELETE_.2B_INSERT.29

        Show
        bryanthompson bryanthompson added a comment - Bug fix where mutation connections in the NanoSparqlServer servlets were failing to do an explicit rollback() on an error path. Added ACID PUT request, which is documented here [1] . [1] https://sourceforge.net/apps/mediawiki/bigdata/index.php?title=NanoSparqlServer#UPDATE_.28DELETE_.2B_INSERT.29

          People

          • Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: