OK, so currently no clear path to investigate . Still willing to intrument the code, if you have some idea ...
I'll try to make the issue happen on my laptop in a reproductible way ... 2017-11-16 19:17 GMT+01:00 Andy Seaborne <[email protected]>: > > > On 16/11/17 18:00, Jean-Marc Vanel wrote: > >> >> /With TDB2, is it bad to share a Dataset across threads and transactions ? >> What are the don't 's regarding TDB2 API use ?/ >> > > Got my (email) threads mixed up ... on another thread today: > > """ > TDB2 goals are to address the scale limitations on transactions, the > write-back queue overload problems, a better architecture e.g. fully > integrate in jena-text transactions, and no quirks about models across > transactions. > """ > http://jena.apache.org/documentation/tdb2/ > > It is not bad. > > It *should* work - it's supposed to. > > As does (when some recent fixes go in): Graph.TransactionHandler.begin() > including automatic promotion from R to W as required by that API. > > It's in the test suite for "across transaction, same thread" and I can't > remember for multithread. The core engine for TDB2 was written a couple of > years ago; I forget details. > > Transactions at the API level are per thread, internally they are not. > > Andy > -- Jean-Marc Vanel http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject <http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me> Déductions SARL - Consulting, services, training, Rule-based programming, Semantic Web +33 (0)6 89 16 29 52 Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
