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

Two or more writers over NFS can cause index corruption

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.4, 2.9
    • Fix Version/s: 2.3
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: