[jira] [Commented] (SOLR-10471) Solr script always sets zkClientTimeout to 15000 if ZK_CLIENT_TIMEOUT unset
[ https://issues.apache.org/jira/browse/SOLR-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16346609#comment-16346609 ] Markus Jelsma commented on SOLR-10471: -- Patch for master for all four affected files in solr/bin/ > Solr script always sets zkClientTimeout to 15000 if ZK_CLIENT_TIMEOUT unset > --- > > Key: SOLR-10471 > URL: https://issues.apache.org/jira/browse/SOLR-10471 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 6.2.1, 7.0 >Reporter: Michael Braun >Assignee: Mark Miller >Priority: Minor > Attachments: SOLR-10471.patch > > > Per SOLR-5565, ZooKeeper session timeout should have been raised to 30s. This > was changed in the solr.xml example but it was not changed in the solr > script, which has this: > {code} > if [ -z "$ZK_CLIENT_TIMEOUT" ]; then > ZK_CLIENT_TIMEOUT="15000" > fi > {code} > And for solr.cmd: > {code} > IF "%ZK_CLIENT_TIMEOUT%"=="" set "ZK_CLIENT_TIMEOUT=15000" > {code} > So regardless of what is in solr.xml, if ZK_CLIENT_TIMEOUT is not set, it > will be overridden to 15,000. I'd think this should be raised to 30,000 or > removed entirely to fall back on the solr.xml's behavior. > [~markrmil...@gmail.com] is this correct? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10471) Solr script always sets zkClientTimeout to 15000 if ZK_CLIENT_TIMEOUT unset
[ https://issues.apache.org/jira/browse/SOLR-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15961520#comment-15961520 ] Mark Miller commented on SOLR-10471: Yeah, 15 seconds is too low. We should fix this. > Solr script always sets zkClientTimeout to 15000 if ZK_CLIENT_TIMEOUT unset > --- > > Key: SOLR-10471 > URL: https://issues.apache.org/jira/browse/SOLR-10471 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 6.2.1, master (7.0) >Reporter: Michael Braun >Priority: Minor > > Per SOLR-5565, ZooKeeper session timeout should have been raised to 30s. This > was changed in the solr.xml example but it was not changed in the solr > script, which has this: > {code} > if [ -z "$ZK_CLIENT_TIMEOUT" ]; then > ZK_CLIENT_TIMEOUT="15000" > fi > {code} > And for solr.cmd: > {code} > IF "%ZK_CLIENT_TIMEOUT%"=="" set "ZK_CLIENT_TIMEOUT=15000" > {code} > So regardless of what is in solr.xml, if ZK_CLIENT_TIMEOUT is not set, it > will be overridden to 15,000. I'd think this should be raised to 30,000 or > removed entirely to fall back on the solr.xml's behavior. > [~markrmil...@gmail.com] is this correct? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org