Github user Stephen-Allen commented on a diff in the pull request:

    https://github.com/apache/jena/pull/42#discussion_r26417942
  
    --- Diff: 
jena-text/src/main/java/org/apache/jena/query/text/DatasetGraphText.java ---
    @@ -142,6 +142,7 @@ public void abort() {
          */
         @Override
         public void commit() {
    +           super.getMonitor().finish() ;
    --- End diff --
    
    > The two-phase commit protocol is modified to ensure that a DatasetChanges 
monitor finishes() before the commit protocol starts. It is possible for a 
DatasetChanges to have buffered-up changes which have not yet been applied; 
applying these changes mid-commit can cause errors.
    
    This makes more sense.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to