[ 
https://issues.apache.org/jira/browse/SOLR-17261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842813#comment-17842813
 ] 

ASF subversion and git services commented on SOLR-17261:
--------------------------------------------------------

Commit 744d5e46f2b946cb697d92c9a1cf5bee1889e19b in solr's branch 
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=744d5e46f2b ]

SOLR-17261: Allow cores to load without a timeout (#2431)

ExecutorUtil once again has the ability to wait
for an ExecutorService to terminate without a timeout.

(cherry picked from commit f46812082d588da5cee05eaed8256845bcf7ffcd)


> Core loading is capped at 60 seconds
> ------------------------------------
>
>                 Key: SOLR-17261
>                 URL: https://issues.apache.org/jira/browse/SOLR-17261
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 9.6, 9.5.0
>            Reporter: Houston Putman
>            Assignee: Houston Putman
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> A combination of SOLR-16187 (giving a 60 second time limit to shutting down 
> {{ServiceExecutor}} pools) and SOLR-16577 (simplifying the core load logic), 
> meant that core loading is interrupted and stopped after 60 seconds.
> We can either:
>  * Revert the core load simplifying logic (SOLR-16577)z
>  * Add another {{awaitTermination()}} in {{ExecutorUtil}} that does wait 
> forever (or until an interrupt), that should be used when not in a 
> {{close()}} or {{shutdown()}} method
> I think Option 2 is the cleaner approach and will help others using the same 
> method of shutting down and waiting on an {{ExecutorService}} to block on the 
> completion of a set of async tasks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to