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

Alex Deparvu resolved SOLR-16252.
---------------------------------
    Fix Version/s: main (10.0)
                   9.5
       Resolution: Fixed

> Server admins cannot override default value for UPDATE_TIMEOUT_SECS
> -------------------------------------------------------------------
>
>                 Key: SOLR-16252
>                 URL: https://issues.apache.org/jira/browse/SOLR-16252
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 8.8, 9.0
>            Reporter: Aren Cambre
>            Assignee: Alex Deparvu
>            Priority: Major
>             Fix For: main (10.0), 9.5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If a schema update takes too long, then you may get this error : "Not enough 
> time left to update replicas. However, the schema is updated already." It is 
> at 
> [https://github.com/apache/solr/blob/9f2dce1d9b56e774452ab5fe914f98ddcd4fb17b/solr/core/src/java/org/apache/solr/schema/SchemaManager.java#L192].
> It is responsive to a timeout is defined earlier in the same class: 
> [https://github.com/apache/solr/blob/9f2dce1d9b56e774452ab5fe914f98ddcd4fb17b/solr/core/src/java/org/apache/solr/schema/SchemaManager.java#L70]
> If you trace back far enough, you'll find that where this timeout value is 
> set is here: 
> [https://github.com/apache/solr/blob/c99af207c761ec34812ef1cc3054eb2804b7448b/solr/core/src/java/org/apache/solr/rest/BaseSolrResource.java#L103].
>  It is receiving that value from the client. It is not a value that I am able 
> to set in the server configuration.
> I believe this base class substantiates how *UPDATE_TIMEOUT_SECS* is 
> something passed as part of a REST query: 
> [https://solr.apache.org/docs/8_8_2/solr-core/org/apache/solr/rest/BaseSolrResource.html]
> It appears there is no way for the server admin to override the default value 
> of 10 minutes. Please allow us to do so.



--
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