lbehnke / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

RuntimeException: rowCount expected N got M (where N<M) #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I get some hard-to-reproduce RuntimeExceptions on a > 5M row database I am
running. It bears some resemblance to
http://groups.google.com/group/h2-database/browse_thread/thread/d91d0ac70688e5f5
/12dcbbc6e8746623?#12dcbbc6e8746623,
but I don't think it is related.

I am doing non-threaded inserts into a table defined as:

CREATE TABLE summa_records
  (id VARCHAR(255) PRIMARY KEY,
   base VARCHAR(31),
   deleted INTEGER,
   indexable INTEGER,
   hasRelations INTEGER,
   data  BYTEA,
   ctime BIGINT,
   mtime BIGINT,
   meta  BYTEA)

Attached is a log containing the error. The relevant DatabaseStorage class
mentioned in the log can be browsed at:
http://summa.svn.sourceforge.net/viewvc/summa/trunk/Storage/src/dk/statsbibliote
ket/summa/storage/database/DatabaseStorage.java?view=markup

Unfortunately I can not reproduce this easily right now, but I am working
on it.

Original issue reported on code.google.com by mikkel.k...@gmail.com on 25 Aug 2009 at 8:56

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry - forgot to add that this is against h2-1.1.109. I will also try against 
the
latest release, but the test env. takes some time to set up

Original comment by mikkel.k...@gmail.com on 25 Aug 2009 at 9:37

GoogleCodeExporter commented 9 years ago
I will close this issue for now, please add a comment once you
have results for the latest release. 

Original comment by thomas.t...@gmail.com on 18 Sep 2009 at 4:32