Hello,

I'm trying to track down a perplexing problem when using an MVStore, where 
it appears that a write using MVMap.put() is being dropped (H2 1.4.197). 
It's only happened twice, but both of those times have been after a series 
of cache flushes, and where the .put() is done *concurrently* with a 
long-running call to compactRewriteFully() (which takes around 90s for this 
DB). We're not using rollback, or transactions or anything fancy, just raw 
put(), get(), commit().

My question: is there any reason to suspect that the cache flushes or, I 
think more likely, the concurrent compactRewriteFully() might somehow be 
causing the write to be dropped?

If so, I'm open to compacting the DB in some other way, but 
compactRewriteFully() has been the most reliable at keeping the DB size 
stable, despite its overhead (it's currently being run from a background 
thread that runs once a day in the wee hours).

Cheers,

Matt.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/2e39dc7e-0d81-488e-8af4-b8a47dbf8d81n%40googlegroups.com.

Reply via email to