-
Notifications
You must be signed in to change notification settings - Fork 25k
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
REST test against clusters with dedicated master nodes #34563
Comments
Pinging @elastic/es-core-infra |
@DaveCTurner I was gonna look into this. I guess one question that comes to mind is: How many nodes do we want to test here? We probably still want 3 master eligible nodes and then some data nodes (maybe one suffices ?) on top of that ... this may get a little trickier resource usage wise? |
I suspect we'd be ok with three master eligible nodes and one data node. It is much more realistic than one node.... As with all of our new QA style tests, I wonder if this is a thing that should run with |
3+1 sounds good, but there might be tests that require 2 data nodes. I don't have a good feeling for whether starting 4 (or even 5) nodes is too many for our poor CI machines to handle. |
@DaveCTurner I guess CI machines can be upgraded :) I'm somewhat optimistic here too. I can run tests with 3 nodes on an 8 GB RAM box => 5 shouldn't be too bad? |
Agreed. Let's try it and see what breaks... |
We have 60GB or RAM for the ephemeral workers right now, and we dedicate 512MB to a node by default ( |
It would make sense to do this with the new code, and I'm actively working on it as a priority, but not sure when it will be complete. If extending the tests is not urgent I would definitely wait. |
We now have the testclusters plugin used in every project, so there's only one thing to change, but we don't have a way to pass on per node configuration from a build script. @original-brownbear @DaveCTurner which tests would we want to change for this ? Is it some in particular and if so how many or a change across the board ? If it's the lather it might make sense to implement it as a flag that would interpret the number of nodes configured for the node as data nodes and add 3 master nodes by default to the test cluster. We would set this up in a new CI job. |
All tests should pass whether they are running on mixed master/data nodes or nodes dedicated for each role, so I think we should be choosing randomly (and deterministically). |
I'm not entirely convinced randomization is the right approach, especially considering how that would interfere with how long a build takes an the amount of resources it needs. |
Ok, dedicated jobs for this are good too. |
Today we run our REST tests against clusters with nodes that are both data nodes and master-eligible nodes. We therefore miss tests against the (recommended) configuration of dedicated master nodes and separate data nodes, and this includes things like tests of the rolling upgrade procedure which may be sensitive to the order in which nodes are upgraded.
Thanks to Armin for spotting this in #34560 (comment).
The text was updated successfully, but these errors were encountered: