[
https://issues.apache.org/jira/browse/JENA-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426524#comment-15426524
]
ASF subversion and git services commented on JENA-1223:
-------------------------------------------------------
Commit fe2df58f985024c5d65b3be30dddfac9e9c92594 in jena's branch
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=fe2df58 ]
JENA-1223: Correct handling of txn promotion for active writers.
In the "serialized" case, the promotion operation grabs the writer lock
and then performs the checks for promotion validity. This accounts for
any active writers at the time of the promotion operation.
> 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)