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

Provide transaction promotion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.1.0
    • Jena 3.1.1
    • TDB
    • None

    Description

      This JIRA is to add the ability for a read transaction to promote to a write transaction.

      API changes are necessary to expose this feature properly and uniformly.

      PR #161 provides the machinery for TDB. To avoid general API changes outside TDB, this happens automatically in DatasetGraphTransaction.getW() if enabled (by default it isn't, the PR makes no change to behaviour of TDB by default). It needs to be enabled with DatasetGraphTransaction.promotion = true. PR#161 does contain internal changes (e.g. DatasetGraphWrapper) outside TDB.

      This leads towards a general begin() for transactions.

      This JIRA is cover discussion on the API and record changes to the subsystems.

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: