Is the indexing done asynchronously?

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