Hi, The index will stay on old state of the last commit. All data after the last commit is lost, the segments started will be deleted on cleanup when a new merge triggers. This is especially true for sure since Lucene 6 because it uses Java 7's atomic renames to publish commit and also fsyncs the directory.
----- Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Kudrettin Güleryüz [mailto:[email protected]] > Sent: Thursday, May 18, 2017 5:28 PM > To: Lucene Users <[email protected]> > Subject: Re: Program killed > > Sorry, I was specifically asking for the effect on Lucene index that was > being updated when the program is killed during first phase of the > two-phase commit model. Would the index be broken? Is there anything that > can be done to prevent it, how can it be fixed? Insight on this would be > great. > > Thank you > > > > On Thu, May 18, 2017 at 10:37 AM Kudrettin Güleryüz > <[email protected]> > wrote: > > > Hi, > > > > What happens if a program is killed or if system is rebooted during first > > phase of the two-phase commit model? > > > > Thank you, > > Kudret > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
