lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: [jira] Resolved: (LUCENE-1044) Behavior on hard power shutdown
Date Sat, 03 Nov 2007 23:56:30 GMT

: Is the new autocommit=false code atomic (the new check point is successfully
: made and moved to or its not)? If not I imagine it could be made to be without
: too much work right?

No matter what work we do in Java code to try and garuntee atomicity, the 
JVM can't garuntee that File IO buffers are flushed unless the JVM is 
shutdown cleanly, so i don't see how we could possibly make any claims
of atomicity in the event of hard process (or OS) termination.

i'd be happy to be proven wrong by someone who knows more about IO, 
filesystems, and the JVM Specification.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message