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 Bug
    • Status: Closed
    • Priority: Major 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
          Mark Miller added a comment -

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

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

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development