Details
-
Task
-
Resolution: Won't Fix
-
Critical
-
6.5.1
-
1
-
5: Helm, backup, Marketplace, 46: Completion 2.3. bk maint, 48, 50: Validation/Enforcement, 1: Recovery to productivity
Description
Build : 6.5.1-6298
Steps -
1. On Azure, setup a 4-node cluster with all services on all nodes
2. Install travel-sample bucket
3. Create an FTS index with default mapping on travel-sample
4. Once index is ready, run the following query -
HQ-Computer:Downloads mihirkamdar$ curl -XPOST -H "Content-Type: application/json" -u Administrator:password http://vm0.server-gkdlooxaoc2u6.eastus.cloudapp.azure.com:8094/api/index/default/query -d '{
|
"explain": false,
|
"fields": [
|
"name","city"
|
],
|
"size":1,
|
"highlight": {},
|
"query": {
|
"query": "London"
|
}
|
}' | jq
|
There are errors in the response -
{
|
"status": {
|
"total": 6,
|
"failed": 4,
|
"successful": 2,
|
"errors": {
|
"default_5b6442b61c4c2848_13aa53f3": "grpc_client: query got status code: 503, resp: (*bleve.SearchResult)(nil), err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 52.186.14.246:9130: i/o timeout\"",
|
"default_5b6442b61c4c2848_54820232": "grpc_client: query got status code: 503, resp: (*bleve.SearchResult)(nil), err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 52.186.10.48:9130: i/o timeout\"",
|
"default_5b6442b61c4c2848_6ddbfb54": "grpc_client: query got status code: 503, resp: (*bleve.SearchResult)(nil), err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 52.186.14.83:9130: i/o timeout\"",
|
"default_5b6442b61c4c2848_aa574717": "grpc_client: query got status code: 503, resp: (*bleve.SearchResult)(nil), err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 52.186.14.246:9130: i/o timeout\""
|
}
|
},
|
"request": {
|
"query": {
|
"query": "London"
|
},
|
"size": 1,
|
"from": 0,
|
"highlight": {
|
"style": null,
|
"fields": null
|
},
|
"fields": [
|
"name",
|
"city"
|
],
|
"facets": null,
|
"explain": false,
|
"sort": [
|
"-_score"
|
],
|
"includeLocations": false,
|
"search_after": null,
|
"search_before": null
|
},
|
"hits": [
|
{
|
"index": "default_5b6442b61c4c2848_f4e0a48a",
|
"id": "landmark_16077",
|
"score": 1.1042732941004059,
|
"locations": {
|
"city": {
|
"london": [
|
{
|
"pos": 1,
|
"start": 0,
|
"end": 6,
|
"array_positions": null
|
}
|
]
|
},
|
"content": {
|
"london": [
|
{
|
"pos": 13,
|
"start": 71,
|
"end": 77,
|
"array_positions": null
|
}
|
]
|
},
|
"title": {
|
"london": [
|
{
|
"pos": 1,
|
"start": 0,
|
"end": 6,
|
"array_positions": null
|
},
|
{
|
"pos": 4,
|
"start": 15,
|
"end": 21,
|
"array_positions": null
|
}
|
]
|
}
|
},
|
"sort": [
|
"_score"
|
]
|
}
|
],
|
"total_hits": 284,
|
"max_score": 1.1042732941004059,
|
"took": 6002264321,
|
"facets": null
|
}
|
Running the same query on a different node in the cluster, the results and error are different.
{
|
"status": {
|
"total": 6,
|
"failed": 3,
|
"successful": 3,
|
"errors": {
|
"default_5b6442b61c4c2848_13aa53f3": "context deadline exceeded",
|
"default_5b6442b61c4c2848_54820232": "context deadline exceeded",
|
"default_5b6442b61c4c2848_aa574717": "context deadline exceeded"
|
}
|
},
|
"request": {
|
"query": {
|
"query": "London"
|
},
|
"size": 1,
|
"from": 0,
|
"highlight": {
|
"style": null,
|
"fields": null
|
},
|
"fields": [
|
"name",
|
"city"
|
],
|
"facets": null,
|
"explain": false,
|
"sort": [
|
"-_score"
|
],
|
"includeLocations": false,
|
"search_after": null,
|
"search_before": null
|
},
|
"hits": [
|
{
|
"index": "default_5b6442b61c4c2848_6ddbfb54",
|
"id": "landmark_16309",
|
"score": 1.177308042200981,
|
"locations": {
|
"city": {
|
"london": [
|
{
|
"pos": 1,
|
"start": 0,
|
"end": 6,
|
"array_positions": null
|
}
|
]
|
},
|
"content": {
|
"london": [
|
{
|
"pos": 2,
|
"start": 4,
|
"end": 10,
|
"array_positions": null
|
},
|
{
|
"pos": 6,
|
"start": 33,
|
"end": 39,
|
"array_positions": null
|
}
|
]
|
},
|
"directions": {
|
"london": [
|
{
|
"pos": 2,
|
"start": 6,
|
"end": 12,
|
"array_positions": null
|
}
|
]
|
},
|
"name": {
|
"london": [
|
{
|
"pos": 2,
|
"start": 4,
|
"end": 10,
|
"array_positions": null
|
}
|
]
|
},
|
"title": {
|
"london": [
|
{
|
"pos": 1,
|
"start": 0,
|
"end": 6,
|
"array_positions": null
|
}
|
]
|
}
|
},
|
"sort": [
|
"_score"
|
]
|
}
|
],
|
"total_hits": 417,
|
"max_score": 1.177308042200981,
|
"took": 9992026342,
|
"facets": null
|
}
|