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

create command don't take into account the transient core property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.4, 4.6
    • 4.6, 6.0
    • multicore
    • None

    Description

      the create core admin command don't take into account the transient core property, when the core is registered (so, the core will be never closed by the transient core cache)

      To reproduce :
      set transientCacheSize=2 and start with no cores

      Create 3 cores :
      curl "http://ip:port/solr/admin/cores?action=CREATE&name=coreX&instanceDir=path_to_instanceDir_coreX&dataDir=path_to_dataDir_coreX&loadOnStartup=false&transient=true"

      Look at the status :
      http://ip:port/solr/admin/cores?action=STATUS

      All cores are still loaded.
      One core should not be loaded (closed by the transient cache)

      The patch in attachment is for svn solr branch_4X (revision number 1526418)

      Attachments

        1. SOLR-5318.patch
          5 kB
          Erick Erickson
        2. SOLR-5318.patch
          2 kB
          olivier soyez

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              olivier soyez olivier soyez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: