jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willis Morse <willismo...@mac.com>
Subject Re: Index/data corruption
Date Wed, 25 Apr 2007 13:55:04 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message