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

CheckIndex modifies index without write.lock

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Instead it asks you nicely to "not do that".

      Due to the way this is implemented, if you choose to drop corrupt segments, it should obtain the lock before actually doing any reads too, or it might lose more than you think or do other strange stuff.

        Attachments

        1. LUCENE-5981.patch
          14 kB
          Robert Muir
        2. LUCENE-5981.patch
          17 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: