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

Collection creation fails if metrics are called during core creation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.5
    • Component/s: SolrCloud
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                gezapeti Peter Cseh
              • 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