x-opaque-id
header breaks CCS in mixed version cluster
#79948
Labels
:Distributed Indexing/CCR
Issues around the Cross Cluster State Replication features
>non-issue
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Team:Search
Meta label for search team
Elasticsearch version (
bin/elasticsearch --version
): 7.16.0 bc1 (also potentially 7.15.2)Description of the problem including expected versus actual behavior:
Presence of
x-opaque-id
header changes cross cluster search behavior in mixed version clusterWhen header is missing cross cluster search works as expected,
When header is present cross cluster search doesn't work
Steps to reproduce:
7_15
7_15
has data inmy-index
indexObserve correct result with return indices from 7.15 cluster resolved
x-opaque-id
header:Observe empty results
Additional context:
This popped up in Kibana: Unable to create Index pattern when 7.16 is parent build and 7.15 is child build in CCS setup. kibana#116399, where it can't resolve CCS indices via index pattern creation UI, but can using Dev tools. I found that the difference in the requests that causing this is
x-opaque-id
header: Unable to create Index pattern when 7.16 is parent build and 7.15 is child build in CCS setup. kibana#116399 (comment)I didn't reproduce with 7.15.1 -> 7.14, but I did reproduce with 7.15 snapshot -> 7.14. Likely the bug is introduced in 7.15.2
Possibly related pull request: Preserve request headers in a mixed version cluster #79412
The text was updated successfully, but these errors were encountered: