[ 
https://issues.apache.org/jira/browse/SOLR-7280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-7280:
---------------------------------
    Attachment: SOLR-7280-5x.patch

Success! The problem I was having before was that I was _still_ getting OOM 
errors in my setup with the default 24 coreLoadTheads. Reducing it to 8 cured 
the problem, I ran my test setup all last night and there were zero problems.
I've attached the patch for 5x. I had to re-implement the lambda expressions in 
the original, I _think_ I did the right thing in the new CoreSorterTest, but 
any checks welcome. This patch also sets the default coreLoadThreads to 8 as 
Noble discussed.

[~mdrob] thanks for the pointer on the junit stuff BTW. I didn't incorporate 
your other suggestion, but having it in 6x and 7x suffices I think.

This passes precommit and test as well as my stress test.

So, the question becomes should this be merged into the 5x code line so it'll 
be picked up by any (hypothetical) 5x releases or just left here and we'll deal 
with whether it should be included in any new 5x release when the time comes? 
Any firm opinions? This topic has come up on more than one occasion, but even 
checking it into 5x still means people would have to build it themselves.

> Load cores in sorted order and tweak coreLoadThread counts to improve cluster 
> stability on restarts
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7280
>                 URL: https://issues.apache.org/jira/browse/SOLR-7280
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>             Fix For: 6.2
>
>         Attachments: SOLR-7280-5x.patch, SOLR-7280-5x.patch, SOLR-7280.patch, 
> SOLR-7280.patch
>
>
> In SOLR-7191, Damien mentioned that by loading solr cores in a sorted order 
> and tweaking some of the coreLoadThread counts, he was able to improve the 
> stability of a cluster with thousands of collections. We should explore some 
> of these changes and fold them into Solr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to