Solr
  1. Solr
  2. SOLR-4850

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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).

        Issue Links

          Activity

          Hide
          Erick Erickson added a comment -

          Fixed as part of SOLR-4910

          Show
          Erick Erickson added a comment - Fixed as part of SOLR-4910
          Hide
          Steve Rowe added a comment -

          Bulk close resolved 4.4 issues

          Show
          Steve Rowe added a comment - Bulk close resolved 4.4 issues

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development