Skip to content

Add cluster name validation to RemoteClusterConnection#25568

Merged
s1monw merged 1 commit intoelastic:masterfrom
s1monw:validate_cluster_name
Jul 6, 2017
Merged

Add cluster name validation to RemoteClusterConnection#25568
s1monw merged 1 commit intoelastic:masterfrom
s1monw:validate_cluster_name

Conversation

@s1monw
Copy link
Copy Markdown
Contributor

@s1monw s1monw commented Jul 6, 2017

This change adds validation to the RemoteClusterConnection to ensure
we always use seed nodes from the same cluster. While we still allow to use
an arbitrary cluster alias we ensure that we, once we connected to a cluster the first time,
we always check against that initial cluster name when we execute a seed node handshake.

This change adds validation to the RemoteClusterConnection to ensure
we always use seed nodes from the same cluster. While we still allow to use
an arbitrary cluster alias we ensure that we, once we connected to a cluster the first time,
we always check against that initial cluster name when we execute a seed node handshake.
Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM thanks @s1monw !

@s1monw s1monw merged commit e9f6210 into elastic:master Jul 6, 2017
@s1monw s1monw deleted the validate_cluster_name branch July 6, 2017 17:18
s1monw added a commit that referenced this pull request Jul 6, 2017
This change adds validation to the RemoteClusterConnection to ensure
we always use seed nodes from the same cluster. While we still allow to use
an arbitrary cluster alias we ensure that we, once we connected to a cluster the first time,
we always check against that initial cluster name when we execute a seed node handshake.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jul 6, 2017
* master:
  Fix cluster health wait conditions in rolling restart tests
  Add cluster name validation to RemoteClusterConnection (elastic#25568)
  Removes deprecated usage of the FieldStats API in a test that verifies sequence number data in Lucene commit points.  Instead, the test retrieves the _seq_no value from the commit point directly and converts it to a Long value.
  [Tests] Check output of SuggestionBuilder#build method (elastic#25549)
  [Docs] Document Bulk Processor for Java High Level REST Client (elastic#25572)
  Update REST client deps license and notice files (elastic#25573)
@clintongormley clintongormley added the :Search/Search Search-related issues that do not fall into other categories label Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement resiliency :Search/Search Search-related issues that do not fall into other categories v5.6.0 v6.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants