-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug
Description
I have a CCS environment setup, using the guide here. It contains two data nodes and one controlling node. Both data nodes contain the same index, test, with a single document in each. One data node is running off :9201, the other off :9202. The controlling node is running off :9220.
This request is good:
curl -XPOST localhost:9201/t/_search -i
HTTP/1.1 404 Not Found
However, this request is unexpected:
curl -XPOST localhost:9220/*:t/_search -i
HTTP/1.1 500 Internal Server Error
(curl -XPOST localhost:9220/cluster_one:t/_search -i and curl -XPOST localhost:9220/cluster_two:t/_search -i return the same 500 too.)
I'm assuming the connecting node is detecting the 404 from the data nodes and is converting that into a 500, but I'm not sure it should do that. The connecting node should probably inspect the type of error and return the same error type instead of the 500.
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>bug