Re: [hibernate-dev] Resetting Lucene lock at Directory initialization

2009-10-19 Thread Emmanuel Bernard
Sanne, please don't use closed mailing lists, emails are bounced back and that's annoying. PS: removing source sense's ML On 16 oct. 09, at 16:50, Sanne Grinovero wrote: > Hello, > Lucene does - in default LockManager implementation - a sort of "lock > cleanup" at index creation: if it detects

Re: [hibernate-dev] Resetting Lucene lock at Directory initialization

2009-10-19 Thread Emmanuel Bernard
On the Lucene side, it seems to me that manually asking for a lock clear is cleaner / safer than this automagic approach. On 16 oct. 09, at 16:50, Sanne Grinovero wrote: > Hello, > Lucene does - in default LockManager implementation - a sort of "lock > cleanup" at index creation: if it detects

[hibernate-dev] Resetting Lucene lock at Directory initialization

2009-10-16 Thread Sanne Grinovero
Hello, Lucene does - in default LockManager implementation - a sort of "lock cleanup" at index creation: if it detects a lock on the index at startup, this is cleared. Ɓukasz translated the exact same semantic on the Infinispan Directory; current implementation inserts a "lock marker" at a convent