IndexEditor and Commit Failure

2013-10-16 Thread Chetan Mehrotra
Hi, Currently the various IndexEditor (Lucene,Property and Solr) are invoked as part of CommitHook.processCommit call whenever a JCR Session is saved. In case the commit fails would it leave the Index state in inconsistent state? For PropertyIndex I think it would be fine as the index content

Re: IndexEditor and Commit Failure

2013-10-16 Thread Alex Parvulescu
Hi Chetan, The lucene index is asynchronous and the way it works is it (periodically) branches the current state and runs a diff to update the index data. [0] This shouldn't include the conflicts you refer to, but I may be wrong here. My guess is the solr index will pass on an async model too,

Re: IndexEditor and Commit Failure

2013-10-16 Thread Chetan Mehrotra
The lucene index is asynchronous Okie I missed that part completely i.e. OAK-763. Yup with that used for such indexers this problem would not be observed. Thanks for the pointer Alex!! Chetan Mehrotra