AFAIK there is no race condition in KiWi. By design, the triples table does use the nodes table, but it should be transactional, at least on a proper transactional database (H2 is not).
Please, elaborate on the issue and cut a jira if necessary. On Mon, Nov 27, 2017 at 12:39 PM, Xavier Sumba <[email protected]> wrote: > Hi Brent, > > I've been having similar problems with PostgreSQL. I checked the SQL query > directly in the database and returns the same "random results". I haven't > been able to reproduce this error. But what I usually do is: restart the DB > and count all resources in each graph with a SPARQL query. > > If you have a way to reproduce this issue, I can do some debugging this > weekend and see if we can submit a PR. > > Cheers, > Xavier. > > On Nov 27, 2017 7:12 AM, "Brent Shambaugh" <[email protected]> > wrote: > > Dear all, > > Is there a race condition in Marmotta? Resources seem to be available > only at certain times, and these times seem random. > > I am using marmotta-3.4.0-SNAPSHOT with the H2 database in the Kiwi > Database. > > I am just now digging into this. It seems the best way to diagnose > this is to look at the code: > http://javarevisited.blogspot.co.at/2012/02/what-is-race-condition-in.html > > -Brent >
