You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A GraphTxn.find() call will fail if the GraphTxn is already in a transaction, PR #1964 made changes to address #1961 which attempted to make GraphTxn.find() behaviour transactionally consistent and thread-safe.
Version
4.10.0
What happened?
A
GraphTxn.find()
call will fail if theGraphTxn
is already in a transaction, PR #1964 made changes to address #1961 which attempted to makeGraphTxn.find()
behaviour transactionally consistent and thread-safe.However the check at https://github.com/apache/jena/blob/jena-4.10.0/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphTxn.java#L118 was not inverted as it should be, so rather than only creating a transaction when one did not exist it instead did the opposite. This has already been fixed on
main
- https://github.com/apache/jena/blob/main/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphTxn.java#L118Ideally a fix needs to be back ported to
jena4
branch and a point release created to address this as otherwiseGraphTxn.find()
is broken for 4.10.0Relevant output and stacktrace
No response
Are you interested in making a pull request?
None
The text was updated successfully, but these errors were encountered: