[
https://issues.apache.org/jira/browse/JENA-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15499370#comment-15499370
]
ASF GitHub Bot commented on JENA-1223:
--------------------------------------
GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/170
JENA-1223: Txn promotion for TIM (includes patch for JENA-1237)
Machinery for transaction promotion for the in-memory transactional dataset.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena promote-mem
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/170.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #170
----
commit cc2c4bd54c15b958dede6b4e83e6ee440a3157c8
Author: Andy Seaborne <[email protected]>
Date: 2016-09-17T15:51:25Z
JENA-1237: Capture transaction snapshot during begin.
commit f9f2870e29fd1ac51c49740a42f6fbb644b7616d
Author: Andy Seaborne <[email protected]>
Date: 2016-09-17T16:02:50Z
Clean up.
commit 51175d27768955ed1918b79ea7f046723e5c3173
Author: Andy Seaborne <[email protected]>
Date: 2016-09-17T16:03:31Z
JENA-1237: Tests (TDB and TIM)
----
> Provide transaction promotion
> -----------------------------
>
> Key: JENA-1223
> URL: https://issues.apache.org/jira/browse/JENA-1223
> Project: Apache Jena
> Issue Type: Improvement
> Components: TDB
> Affects Versions: Jena 3.1.0
> Reporter: Andy Seaborne
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)