Changeset 32179

Show
Ignore:
Timestamp:
14.05.2018 22:53:02 (3 months ago)
Author:
litvinovg
Message:

Workaround for Solr memory leak on core reloading

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm

    r31858 r32179  
    514514        
    515515        if ($check_core_exists) {        
    516         print $outhandle "Reloading Solr core: $core\n"; 
    517         $solr_server->admin_reload_core($core); 
     516        print $outhandle "Unloading Solr core: $core\n"; 
     517        $solr_server->admin_unload_core($core); 
    518518        } 
    519         else { 
     519         
    520520        print $outhandle "Creating Solr core: $core\n"; 
    521521        $solr_server->admin_create_core($core); 
    522         } 
     522         
    523523    } 
    524524    }