You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Alex Deparvu (Jira)" <ji...@apache.org> on 2023/11/02 20:39:00 UTC

[jira] [Updated] (SOLR-16252) Server admins cannot override default value for UPDATE_TIMEOUT_SECS

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

Alex Deparvu updated SOLR-16252:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> 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
>          Time Spent: 10m
>  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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org