Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server name to remote info API #53634

Merged
merged 2 commits into from
Mar 17, 2020

Conversation

jasontedor
Copy link
Member

This commit adds the configured server_name to the proxy mode info so that it can be exposed in the remote info API.

This commit adds the configured server_name to the proxy mode info so
that it can be exposed in the remote info API.
@jasontedor jasontedor added >enhancement :Distributed/Network Http and internode communication implementations v8.0.0 v7.7.0 labels Mar 16, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Network)

@jasontedor
Copy link
Member Author

@elasticmachine update branch

Copy link
Contributor

@Tim-Brooks Tim-Brooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasontedor jasontedor merged commit 2abf40a into elastic:master Mar 17, 2020
jasontedor added a commit that referenced this pull request Mar 17, 2020
This commit adds the configured server_name to the proxy mode info so
that it can be exposed in the remote info API.
@jasontedor jasontedor deleted the server-name-remote-info branch March 17, 2020 01:26
@alisonelizabeth
Copy link
Contributor

@jasontedor / @tbrooks8 I think I may have found a bug with this change. If I create a remote cluster with the proxy mode and server_name defined (e.g., "foo"), change the server_name value (e.g., "bar") via PUT /_cluster/settings, then call the remote info API, the server_name field is not updated (still equals "foo"). Let me know if you'd like me to open up an issue for this. Thanks!

@Tim-Brooks
Copy link
Contributor

Tim-Brooks commented Mar 24, 2020

There is a bug and it looks like server_name is not dynamically updatable. I will open a PR tomorrow.

@jasontedor
Copy link
Member Author

Thanks @tbrooks8.

@Tim-Brooks
Copy link
Contributor

I opened #54107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Network Http and internode communication implementations >enhancement v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants