Hi Yonik,

Thanks for the response.  If I shut down tomcat cleanly, does it
commit all uncommitted documents?

Best,
Jacob


---------- Forwarded message ----------
From: Yonik Seeley <yo...@lucidimagination.com>
Date: Tue, Mar 24, 2009 at 8:48 PM
Subject: Re: autocommit and crashing tomcat
To: solr-user@lucene.apache.org


On Tue, Mar 24, 2009 at 5:52 AM, Jacob Singh <jacobsi...@gmail.com> wrote:
> If I'm using autocommit, and I have a crash of tomcat (or the whole
> machine) while there are still docs pending, will I lose those
> documents in limbo

Yep.

> If the answer is "they go away": Is there anyway to ensure integrity
> of an update?

You can only be sure that the docs are on the disk after you have done a commit.

An optional transaction log would be part of high-availability for
writes, is something we should eventually get to though.

-Yonik
http://www.lucidimagination.com



-- 

+1 510 277-0891 (o)
+91 9999 33 7458 (m)

web: http://pajamadesign.com

Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsi...@gmail.com

Reply via email to