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

Collection creation fails if metrics are called during core creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0
    • 7.5
    • SolrCloud
    • None

    Description

      There is a race condition in SorlCore's constructor:

      • the metrics.indexSize call implicitly creates a data/index folder for that core
      • if the data/index folder exists, no segments file will be created
      • the searcher won't start up if there are no segments file in the data/index folder

      This is probably the root cause for SOLR-2130 and SOLR-2801 as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gezapeti Gézapeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h