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

CheckIndex modifies index without write.lock

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: