Andy Seaborne created JENA-2086:
-----------------------------------

             Summary: TDB2: read transactions sync the journal.
                 Key: JENA-2086
                 URL: https://issues.apache.org/jira/browse/JENA-2086
             Project: Apache Jena
          Issue Type: Improvement
          Components: TDB2
    Affects Versions: Jena 4.0.0, Jena 3.17.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


[Report from users@ 
(2021-04-08)|https://lists.apache.org/thread.html/rbc1ff0ae78359b580786ff76ad006f1edeca4da13b0f946cd4f48a8d%40%3Cusers.jena.apache.org%3E]

See attached for stacktrace mentioned in the report.

A simple UC:
{noformat}
        DatasetGraph dsg = DatabaseMgr.createDatasetGraph();
        dsg.executeRead(()->{});
{noformat}
and breakpoint on Journal.sync:
{noformat}
    Journal.sync() line: 384    
    Journal.reset() line: 397   
    TransactionCoordinator.completed(Transaction) line: 708     
    Transaction.endInternal() line: 218 
    Transaction.commit() line: 182      
    TransactionalBase.commitExec() line: 143    
    TransactionalBase(TransactionalSystem).commit() line: 33    
    TransactionalBase.commit() line: 131        
    DatasetGraphTDB(DatasetGraphStorage).commit() line: 69      
    DatasetGraphSwitchable(DatasetGraphWrapper).commit() line: 276      
    Txn.exec(T, TxnType, Runnable) line: 85     
    Txn.executeRead(T, Runnable) line: 115      
    DatasetGraphSwitchable(Transactional).executeRead(Runnable) line: 249       
    Report.main(String[]) line: 70
{noformat}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to