Skip to content

Asynchronously connect to remote clusters#44825

Merged
ywelsch merged 10 commits intoelastic:masterfrom
ywelsch:async-remote-connections
Jul 25, 2019
Merged

Asynchronously connect to remote clusters#44825
ywelsch merged 10 commits intoelastic:masterfrom
ywelsch:async-remote-connections

Conversation

@ywelsch
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch commented Jul 24, 2019

Refactors RemoteClusterConnection so that it no longer blockingly connects to remote clusters.

Relates to #40150

@ywelsch ywelsch added >enhancement :Distributed/Network Http and internode communication implementations v8.0.0 v7.4.0 labels Jul 24, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

Copy link
Copy Markdown
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

I've left a few questions mainly around the need for a number of uses of the mutex.

Copy link
Copy Markdown
Contributor Author

@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.

@original-brownbear I have reworked the synchronization bit, and moved to a list instead of a blocking queue (I find it easier to think about it in terms of a simple list + mutex). Can you have another look?

@ywelsch
Copy link
Copy Markdown
Contributor Author

ywelsch commented Jul 25, 2019

@elasticmachine run elasticsearch-ci/2 (unrelated watcher issue)

Copy link
Copy Markdown
Contributor

@original-brownbear original-brownbear 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 @ywelsch :)

@ywelsch
Copy link
Copy Markdown
Contributor Author

ywelsch commented Jul 25, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

@original-brownbear
Copy link
Copy Markdown
Contributor

Jenkins run elasticsearch-ci/bwc

@ywelsch ywelsch merged commit ae486e4 into elastic:master Jul 25, 2019
ywelsch added a commit that referenced this pull request Jul 25, 2019
Refactors RemoteClusterConnection so that it no longer blockingly connects to remote clusters.

Relates to #40150
jkakavas pushed a commit that referenced this pull request Jul 31, 2019
Refactors RemoteClusterConnection so that it no longer blockingly connects to remote clusters.

Relates to #40150
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
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.4.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants