-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
NoSuchRemoteClusterException in docs checks #47718
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Build) |
I don't see anything obvious in the changelog around that time. This seems something specific to CCR documentation testing setup, not a build infrastructure issue. |
Pinging @elastic/es-distributed (:Distributed/CCR) |
This is a race in the doc tests, unfortunately one that we can't handle with the current YAML test infrastructure. The problem is that defining a remote cluster is currently done through the settings infrastructure, and there's no guarantee that when
returns that the nodes have actually connected to the remote cluster. This means that subsequent requests to the cluster can fail if a connection has not been established yet by the time a request comes in. In an ideal world we would have a proper API for defining remote clusters, similar to what we have for defining repositories. We could then, similar to repositories, make sure that the remote clusters are correctly connected to before acking to the user. In lack of this, I see only these options here:
These are unrelated, the docs define remote clusters in |
I opened #48353 for this but I'm not sure it will be accepted. |
This test is failing frequently, due to #47718
This test is failing frequently, due to #47718
This test is failing frequently, due to #47718
|
Another occurrence in https://gradle-enterprise.elastic.co/s/6effjdor5vkzg on the 7.x branch. This time its |
#47891 should fix this issue on master and 7.x. |
This is related to elastic#47718. It introduces a 10 seconds wait for a connection to complete when remote clsuter settings introduce a new remote cluster connection.
This is related to #47718. It introduces a 10 seconds wait for a connection to complete when remote clsuter settings introduce a new remote cluster connection.
This is related to #47718. It introduces a 10 seconds wait for a connection to complete when remote clsuter settings introduce a new remote cluster connection.
With this now fixed, I've unmuted get-ccr-stats on these branches |
This PR build failed:
https://gradle-enterprise.elastic.co/s/qt3vwzsysfowc/console-log?task=:docs:integTestRunner
I see other exceptions about remote clusters in the logs near the bottom:
Build stats shows a handful of failures like this daily across PRs,
7.x
andmaster
since 2019-09-27. I suspect this is a build issue and not something CCR-specific so I'm labelling it accordingly.The text was updated successfully, but these errors were encountered: