Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1011

Two or more writers over NFS can cause index corruption

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.4, 2.9
    • 2.3
    • core/index
    • None
    • New

    Description

      When an index is used over NFS, and, more than one machine can be a
      writer such that they swap roles quickly, it's possible for the index
      to become corrupt if the NFS client directory cache is stale.

      Not all NFS clients will show this. Very recent versions of Linux's
      NFS client do not seem to show the issue, yet, slightly older ones do,
      and the latest Mac OS X one does as well.

      I've been working with Patrick Kimber, who provided a standalone test
      showing the problem (thank you Patrick!). This came out of this
      thread:

      http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=50680;page=1;sb=post_latest_reply;so=ASC;mh=25;list=lucene

      Note that the first issue in that discussion has been resolved
      (LUCENE-948). This is a new issue.

      Attachments

        1. LUCENE-1011.patch
          31 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: