Skip to content

Conversation

@pxsalehi
Copy link
Member

@pxsalehi pxsalehi commented Mar 3, 2023

I think for these tests to run in the correct setup in Stateless, there
must be at least one search replica. The only reason they pass now
on Stateless is because we route gets to index shards. With #93976,
these tests would fail. I think they use 0 replicas since the wait for
green. We have to either change this or mute these on Stateless.

@pxsalehi pxsalehi added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. labels Mar 3, 2023
@elasticsearchmachine elasticsearchmachine added Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.8.0 labels Mar 3, 2023
@elasticsearchmachine
Copy link
Collaborator

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

@pxsalehi
Copy link
Member Author

pxsalehi commented Mar 3, 2023

hmm. Those tests need two nodes at least (they wait for green). Not sure if we can just always use two nodes in the cluster...

pxsalehi added a commit that referenced this pull request Mar 6, 2023
We have some YAML tests that would require at least one
replica (search shard) to run with Stateless and since they
wait for green, they explicitly set replicas to 0 (see e.g.
realtime_refresh). Using 2 nodes
by default makes sure we could run those tests w/o any
changes. IMO, they are pretty important/essential tests.

Relates #94303
@pxsalehi
Copy link
Member Author

pxsalehi commented Mar 6, 2023

@elasticmachine update branch

@pxsalehi pxsalehi merged commit 97c2812 into elastic:main Mar 7, 2023
pxsalehi added a commit to pxsalehi/elasticsearch that referenced this pull request Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants