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

DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      It should really work much more like the code path when you do create an indexwriter if it doesn't already exist, and it cannot count on just checking the refCntWriter as null, because it can lag the indexWriter variable.

        Issue Links

          Activity

          Hide
          markrmiller@gmail.com Mark Miller added a comment -

          If you are seeing indexwriter already closed type bs, it's probably this.

          Show
          markrmiller@gmail.com Mark Miller added a comment - If you are seeing indexwriter already closed type bs, it's probably this.
          Hide
          thetaphi Uwe Schindler added a comment -

          Closed after release.

          Show
          thetaphi Uwe Schindler added a comment - Closed after release.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development