Skip to content

Ensure at least 1 seed configured in remote test#49389

Merged
Tim-Brooks merged 1 commit intoelastic:masterfrom
Tim-Brooks:remote_fix_test
Nov 20, 2019
Merged

Ensure at least 1 seed configured in remote test#49389
Tim-Brooks merged 1 commit intoelastic:masterfrom
Tim-Brooks:remote_fix_test

Conversation

@Tim-Brooks
Copy link
Copy Markdown
Contributor

This fixes #49384. Currently when we select a random subset of seed
nodes from a list, it is possible for 0 seeds to be selected. This test
depends on at least 1 seed being selected.

This fixes elastic#49384. Currently when we select a random subset of seed
nodes from a list, it is possible for 0 seeds to be selected. This test
depends on at least 1 seed being selected.
@Tim-Brooks Tim-Brooks added :Distributed/Network Http and internode communication implementations >test-failure Triaged test failures from CI v8.0.0 v7.6.0 labels Nov 20, 2019
@Tim-Brooks Tim-Brooks requested a review from ywelsch November 20, 2019 15:53
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM

@Tim-Brooks Tim-Brooks merged commit 972219f into elastic:master Nov 20, 2019
Tim-Brooks added a commit to Tim-Brooks/elasticsearch that referenced this pull request Nov 25, 2019
This fixes elastic#49384. Currently when we select a random subset of seed
nodes from a list, it is possible for 0 seeds to be selected. This test
depends on at least 1 seed being selected.
Tim-Brooks added a commit that referenced this pull request Nov 25, 2019
This commit back ports three commits related to enabling the simple
connection strategy.

Allow simple connection strategy to be configured (#49066)

Currently the simple connection strategy only exists in the code. It
cannot be configured. This commit moves in the direction of allowing it
to be configured. It introduces settings for the addresses and socket
count. Additionally it introduces new settings for the sniff strategy
so that the more generic number of connections and seed node settings
can be deprecated.

The simple settings are not yet registered as the registration is
dependent on follow-up work to validate the settings.

Ensure at least 1 seed configured in remote test (#49389)

This fixes #49384. Currently when we select a random subset of seed
nodes from a list, it is possible for 0 seeds to be selected. This test
depends on at least 1 seed being selected.

Add the simple strategy to cluster settings (#49414)

This is related to #49067. This commit adds the simple connection
strategy settings and strategy mode setting to the cluster settings
registry. With these changes, the simple connection mode can be used.
Additionally, it adds validation to ensure that settings cannot be
misconfigured.
@Tim-Brooks Tim-Brooks deleted the remote_fix_test branch April 30, 2020 18:26
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 >test-failure Triaged test failures from CI v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RemoteClusterConnectionTests#testConnectedNodesConcurrentAccess fails

4 participants