lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oren Eini (Ayende Rahien)" <>
Subject NIOFSDirectory is dangerous and should be re-written
Date Sun, 23 Aug 2015 15:00:55 GMT
I checked the latest implementation of NIOFSDirectory in the
repository, and it is doing horrible things there.
In particular, it is supposed to be non blocking, but it is calling this

[image: Inline image 1]

This is now a SINGLE GLOBAL LOCK for all reads.
So if you are trying to switch from the SimpleFSDirectory lock per file to
a global lock across all indexes.that would kill any hope of good

A proper way to handle this, at least on Win32, is shown here:

*Hibernating Rhinos Ltd  *

Oren Eini* l CEO l *Mobile: + 972-52-548-6969

Office: +972-4-622-7811 *l *Fax: +972-153-4-622-7811

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