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

Cores defined as loadOnStartup="true" and transient="true" can't be queried

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.1, 4.3
    • 4.4, 6.0
    • multicore
    • None

    Description

      It seems like in order to query transient cores they must be defined with
      loadOnStartup="false".

      I define one core loadOnStartup="true" and transient="false", and another
      cores to be loadOnStartup="true" and transient="true", and
      transientCacheSize is default (=Integer.MAX_VALUE).

      In this case CoreContainer.dynamicDescriptors will be empty and then
      CoreContainer.getCoreFromAnyList(String) and CoreContainer.getCore(String)
      returns null for all transient cores.

      As a result such cores (loadOnStartup="true" and transient="true") can't be queried at all (neither from Query nor from Overview).

      Attachments

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              lyuba Lyubov Romanchuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: