I believe we still need this, for remote filesystems (like NFS) that have inconsistent client-side caching.

The fsync() ensures the local IO system has moved the bytes/file metadata to stable storage, but I'd expect remote caches would still potentially be stale.

Mike

Michael Busch wrote:

Hi,

with LUCENE-1044 we sync the FS after writing files. Do we still need the segments.gen file to handle stale caches correctly?

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to