great, thanks.

I'm working on a few canonical test cases like this to see exactly what I can and can't get away with. If I find any problems I'll post them.

- will


On Apr 25, 2007, at 1:05 PM, Alexandru Popescu ☀ wrote:

On 4/25/07, Willis Morse <[EMAIL PROTECTED]> 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



Reply via email to