Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3861

lock mismanagement in LuceneConnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.7.9
    • 2.7.8
    • None
    • None

    Description

      The withWriter() method in LuceneConnection acquires the writeLock and indexWriter outside of the try finally that ensures the writeLock is released.

      This causes a hang when getIndexWriter throws a DbException, because the writeLock is not released.

      See https://support.atlassian.com/browse/CRC-3348

      Was introduced as part of a debugging effort here: https://extranet.atlassian.com/crucible/browse/FE-hg/src/java/com/cenqua/fisheye/lucene/LuceneConnection.java?r2=ea46e998cf0eb7c1c1b042f50a3882fc6b1498e7&r1=21058001e93fc0046a964fce4a459a583d6904a5

      Attachments

        Activity

          People

            bhumphreys BrendanA
            bhumphreys BrendanA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: