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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.1, 4.3
    • Fix Version/s: 4.4, 6.0
    • Component/s: multicore
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: