Aren Cambre created SOLR-16252:
----------------------------------

             Summary: 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: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 9.0, 8.8
            Reporter: Aren Cambre


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.7#820007)

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

Reply via email to