Skip to content

Conversation

@pawankartik-elastic
Copy link
Contributor

Backports the following commits to 8.19:

…ster name (elastic#128610)

The auth code injects the pattern `["*", "-*"]` to specify that it's okay to return an empty response because user's patterns did not match any remote clusters. However, we fail to recognise this specific pattern and `groupIndices()` eventually associates it with the local cluster. This causes Elasticsearch to fallback to the local cluster unknowingly and return its details back to the user even though the user hasn't requested any info about the local cluster.
@pawankartik-elastic pawankartik-elastic added :Search Foundations/CCS >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Jun 3, 2025
@elasticsearchmachine elasticsearchmachine merged commit c27de5a into elastic:8.19 Jun 3, 2025
15 checks passed
@pawankartik-elastic pawankartik-elastic deleted the backport/8.19/pr-128610 branch June 3, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Search Foundations/CCS Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants