Skip to content

Add server name to remote info API#53634

Merged
jasontedor merged 2 commits intoelastic:masterfrom
jasontedor:server-name-remote-info
Mar 17, 2020
Merged

Add server name to remote info API#53634
jasontedor merged 2 commits intoelastic:masterfrom
jasontedor:server-name-remote-info

Conversation

@jasontedor
Copy link
Copy Markdown
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
@jasontedor jasontedor requested a review from Tim-Brooks March 16, 2020 21:01
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@jasontedor
Copy link
Copy Markdown
Member Author

@elasticmachine update branch

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

Thanks @tbrooks8.

@Tim-Brooks
Copy link
Copy Markdown
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.

5 participants