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

Asynchronously connect to remote clusters #44825

Merged
merged 10 commits into from
Jul 25, 2019

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Jul 24, 2019

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

Relates to #40150

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Member

@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
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
Contributor Author

ywelsch commented Jul 25, 2019

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

Copy link
Member

@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
Contributor Author

ywelsch commented Jul 25, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

@original-brownbear
Copy link
Member

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants