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

Fix relocation targets in FieldCapabilitiesIT #121606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Feb 4, 2025

[NO(a copy of this shard is already allocated to this node [[old_index][8], node[ZJUe-uOqSlacF9TFuAD7Zg], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=QDYUE42mRQKKHDRI8KhRSQ], unassigned_info[[reason=INDEX_CREATED], at[2025-01-24T06:55:51.352Z], delayed=false, allocation_status[no_attempt]], failed_attempts[0]])]

The test failed because we tried to move a shard to a node that already has a copy. This change prevents that from happening.

Closes #119280
Closes #120772

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged v9.0.0 v8.17.2 v8.16.4 v8.18.1 v8.19.0 v9.1.0 labels Feb 4, 2025
@dnhatn dnhatn marked this pull request as ready for review February 4, 2025 00:23
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label Feb 4, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team >test Issues or PRs that are addressing/adding tests v8.16.4 v8.17.2 v8.18.1 v8.19.0 v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] FieldCapabilitiesIT class failing [CI] FieldCapabilitiesIT testRelocation failing
2 participants