Affects Version/s: None
Fix Version/s: None
This is not a normal situation Lucene currently encounters, though we
are discussing exactly this possibility in
I only hit it in digging down on a test failure in
That failure happens on Windows 64bit, if you use MMapDirectory, and
the index is on a remote (CIFS) mount.
This test opens a SegmentReader against doc store files that
IndexWriter still has open.
I whittled it down to this test showing the root cause:
NIOFSDir and SimpleFSDir pass the test fine, which is nice to know
LUCENE-1313). MMapDir passes fine on a local drive, but fails on
a remote CIFS mount.
I'm not sure what's going on. It seems like it could be a JRE bug –
behavior shouldn't change on local vs remote drive. I've only tested
it with java 1.6.0_11.