Hi Andy
Andy Seaborne wrote:
On 25/10/11 10:21, Paolo Castagna wrote:
Hi,
I know that this isn't helpful in finding the root cause of the problem.
Could you at least provide a description of the setup:
0/ Is this something that has started happening or something that has
always happened in your testing?
1/ How frequently does it happen?
Every update? 1 in 100?
We only recently started using TDB 0.9.0-incubating-SNAPSHOT an all the
replicas. It's not frequent and only 1 of the 3 replicas experience it.
442 previous write transaction were successful.
2/ How much data is there in a store?
Not big.
3/ How big and how frequent are the updates?
Ditto reads.
The update we were submitting when we saw the exception wasn't big
(but not tiny): 13492 triples.
That store performed 442 write transactions previously, without
problems. It failed when we submitted the 443 write transaction.
At that point in time we were submitting many updates, sequentially
one after the other, and continuously (i.e. we were replaying old
updates from a key-value store).
A couple of other nodes, running exactly the same code, did not
experience any problem. The difference might be on the reads.
There might have been reads during the updates.
4/ How are the updates being done?
We still serialize writes and we run write transactions via the usual
begin, try { ... commit } catch { abort } pattern.
5/ Which version did you build (date is most helpful, svn rev is OK).
http://oss.talisplatform.com/content/repositories/talis-releases/org/apache/jena/jena-tdb/0.9.0-incubating-TALIS-RC1/
... instead of this, I'd like to use something from here:
https://repository.apache.org/content/repositories/staging/org/apache/jena/
Paolo
Andy
However, I want to report that we saw this exception in our logs:
Oct 24 18:07:44 ip-10-234-101-15 com.hp.hpl.jena.tdb.TDBException:
Different ids for http://covers.openlibrary.org/b/id/609263-M.jpg:
allocated: expected [00000000081BBA4B], got [00000000081B5C58]
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.transaction.NodeTableTrans.append(NodeTableTrans.java:178)
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.transaction.NodeTableTrans.writeNodeJournal(NodeTableTrans.java:210)
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.transaction.NodeTableTrans.commitPrepare(NodeTableTrans.java:190)
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.transaction.Transaction.prepare(Transaction.java:105)
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.transaction.Transaction.commit(Transaction.java:89)
Oct 24 18:07:44 ip-10-234-101-15 at
com.hp.hpl.jena.tdb.DatasetGraphTxn.commit(DatasetGraphTxn.java:38)
...
Andy