Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-863

SolrCore.initIndex should close the directory it gets for clearing the lock and use the DirectoryFactory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Could put the close in a finally as well, but if you get an exception here I don't think your going anywhere anyway, so probably doesn't matter (it probably doesn't even matter that its not closed, but it should be).

        Attachments

        1. SOLR-863.patch
          0.9 kB
          Mark Miller
        2. SOLR-863.patch
          1 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: