afs commented on issue #1961:
URL: https://github.com/apache/jena/issues/1961#issuecomment-1890981479

   > I see that GraphTxn no longer works properly
   
   Is that stacktrace for the GraphTxn case? I can't see where the "find" step 
is.
   
   Why is the code writing inside a `find()`? Even if it worked, it can be 
inconsistent because the changes can be before or after where the iterator has 
got to.
   
   The most robust solution is to isolate the find. It adds cost only if 
iterators are opened and not fully used (e.g. implementations of "contains" 
would need checking).
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to