[
https://issues.apache.org/jira/browse/JENA-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320284#comment-17320284
]
ASF subversion and git services commented on JENA-2086:
-------------------------------------------------------
Commit e30fecee331e7bc24a7001ab1c154bf2d298e7b3 in jena's branch
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=e30fece ]
Merge pull request #983 from afs/jena2086-txn
JENA-2086: No need to reset the journal every transaction.
> 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 3.17.0, Jena 4.0.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
> Attachments: jena-sync-overhead.png
>
>
> [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)