[
https://issues.apache.org/jira/browse/SOLR-15442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035194#comment-18035194
]
ASF subversion and git services commented on SOLR-15442:
--------------------------------------------------------
Commit 7f635a9f3114fe380d8eb736d4d2b3b727e49a16 in solr's branch
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=7f635a9f311 ]
SOLR-15442: Sync up Solr (Jetty) host and ports variable naming (#3814)
Sync up port and host variable naming:
* solr.jetty.host --> solr.host.bind
* SOLR_HOST/host --> solr.host.advertise
* jetty.port --> solr.port.listen and SOLR_PORT_LISTEN
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: David Smiley <[email protected]>
> Syncronize the port and host variables for Solr
> -----------------------------------------------
>
> Key: SOLR-15442
> URL: https://issues.apache.org/jira/browse/SOLR-15442
> Project: Solr
> Issue Type: Improvement
> Reporter: Houston Putman
> Assignee: Eric Pugh
> Priority: Blocker
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> There are 4 options for specifying host and port in Solr.
> These can be organized as such:
> * {{host}} - This is the host that is advertised by the Solr node in the ZK
> live nodes
> * {{solr.jetty.host}} - This is the host that jetty binds to, and only
> accepts requests to.
> * {{jetty.port}} - This is the port that jetty binds to, and accepts requests
> to.
> * {{solr.port.advertise}} - This is the port that is advertised by the Solr
> node in the ZK live nodes.
> In order to synchronize these, we can rename them to:
> * {{solr.host.advertise}} <- {{host}}
> * {{solr.host.bind}} <- {{solr.jetty.host}} (could also be
> {{solr.host.listen}})
> * {{solr.port.advertise}}
> * {{solr.port.listen}} <- {{jetty.port}} and {{solr.jetty.https.port}}
> These would come with compatible env-vars in bin/solr, that are backwards
> compatible with the env vars currently accepted.
> Unfortunately there is no way to have backwards compatibility with the jetty
> config variables, since you can default the value of one variable with the
> value of another. However we can keep backwards compatibility with the
> advertised variables, as those are used by Solr alone.
> The new names are up for debate, but it's certainly something that we should
> make straightforward. This is a good thing to shoot for 9.0, being a major
> release where we can have these backwards-incompatible name changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]