You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by GitBox <gi...@apache.org> on 2019/06/30 09:27:45 UTC
[GitHub] [jena] der opened a new pull request #580: JENA-1719: Work around
for iterators being held across transactions
der opened a new pull request #580: JENA-1719: Work around for iterators being held across transactions
URL: https://github.com/apache/jena/pull/580
Provides a workaround to #JENA-1719.
Underlying problem is that when inferences are not run to completion
then tabled goals and associated interpreters and agenda entries can
get retained and in some cases can hold on to uncompleted iterators.
Correct fix would be to clean these up but doing this safely, especially
in the presence of concurrent queries is tricky.
Long term solution might need serious redesign of the backward engine with
concurrency and transactions in mind.
This workaround wraps the iterators so that if one is retained and
and reused across a transaction boundary then it will attempt to restart
it. So doesn't fix the underlying problem but does workaround it for this test case.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services