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

Remove IndexWriter.unLock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.10, 5.0, 6.0
    • core/index
    • None
    • New

    Description

      This method used to be necessary, when our locking impls were buggy, but it's a godawful dangerous method: it invites index corruption.

      I think we should remove it.

      Apps that for some scary reason really need it can do their own thing...

      Attachments

        1. LUCENE-6060.patch
          12 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: