Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 21, 2025

Our integration tests create a lot of indices due to each test running in its own namespace. Recently, we've been hitting the per-node cluster wide limit of 1000 shards, causing some tests to randomly be flaky - see #11325 for example.

I've looked into this in #11329, and it does look like we create almost 500 indicies, each of which gets an inactive replica shard that counts towards the limit. I tried to disable replication at first, but doing so for managed indices turns out to be a huge pain. Instead, I decided to just increase the limit, as the replica shards aren't really doing much anyway.


This is an automatic backport of pull request #11348 done by [Mergify](https://mergify.com).

Our integration tests create a lot of indices due to each test running
in its own namespace. Increase the limit, as the performance
penalty doesn't matter for the purpose of our tests.

(cherry picked from commit 81150c8)
@mergify mergify bot added the backport label Nov 21, 2025
@mergify mergify bot requested a review from a team as a code owner November 21, 2025 19:46
@mergify mergify bot requested review from swiatekm and ycombinator and removed request for a team November 21, 2025 19:46
@github-actions github-actions bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team flaky-test Unstable or unreliable test cases. skip-changelog chore Tasks that just need to be done, they are neither bug, nor enhancements labels Nov 21, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@swiatekm swiatekm enabled auto-merge (squash) November 21, 2025 20:01
@swiatekm swiatekm merged commit cc7c7fb into 9.1 Nov 21, 2025
22 of 23 checks passed
@swiatekm swiatekm deleted the mergify/bp/9.1/pr-11348 branch November 21, 2025 20:53
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

cc @swiatekm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport chore Tasks that just need to be done, they are neither bug, nor enhancements flaky-test Unstable or unreliable test cases. skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants