jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: Index/data corruption
Date Wed, 25 Apr 2007 17:05:18 GMT
On 4/25/07, Willis Morse <willismorse@mac.com> wrote:
> Is the indexing done asynchronously?
>

Afaik indexing is not done asynch, so your way of handling the
repository should be safe.

./alex
--
.w( the_mindstorm )p.

> In my Swing app, I might do something like this:
>
>         session.save();
>         session.logout();
>         System.exit();
>
> Is this safe?
>
> If not, how do we programmatically determine when it is safe to exit
> the app?
>
> - Willis Morse
>
>
> On Apr 25, 2007, at 3:49 AM, Marcel Reutegger wrote:
>
> > the lucene indexes are updated after a jackrabbit transaction is
> > committed. if the jvm process is killed during that update, the
> > index may be ouf of sync. See: http://issues.apache.org/jira/browse/
> > JCR-204
>
>

Mime
View raw message