nisiyong commented on issue #6428:
URL: https://github.com/apache/skywalking/issues/6428#issuecomment-785002846
Both of you were talking about the writing scenario.
When I just invoked `queryBasicTraces` with a 2-day duration via Graphql,
and it responds as follow:
```json
{
"data": {},
"errors": [
{
"message": "Exception while fetching data (/trace) : listener timeout
after waiting for [30000] ms"
}
]
}
```
```bash
java.io.IOException: listener timeout after waiting for [30000] ms
at
org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:684)
~[elasticsearch-rest-client-6.3.2.jar:6.3.2]
at
org.elasticsearch.client.RestClient.performRequest(RestClient.java:235)
~[elasticsearch-rest-client-6.3.2.jar:6.3.2]
at
org.elasticsearch.client.RestClient.performRequest(RestClient.java:198)
~[elasticsearch-rest-client-6.3.2.jar:6.3.2]
at
org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:522)
~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
at
org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:508)
~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
at
org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:404)
~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
at
org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient.doSearch(ElasticSearchClient.java:351)
~[library-client-8.2.0.jar:8.2.0]
at
org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient.search(ElasticSearchClient.java:336)
~[library-client-8.2.0.jar:8.2.0]
at
org.apache.skywalking.oap.server.storage.plugin.elasticsearch.query.TraceQueryEsDAO.queryBasicTraces(TraceQueryEsDAO.java:136)
~[storage-elasticsearch-plugin-8.2.0.jar:8.2.0]
at
org.apache.skywalking.oap.server.core.query.TraceQueryService.queryBasicTraces(TraceQueryService.java:91)
~[server-core-8.2.0.jar:8.2.0]
at
org.apache.skywalking.oap.query.graphql.resolver.TraceQuery.queryBasicTraces(TraceQuery.java:76)
~[query-graphql-plugin-8.2.0.jar:8.2.0]
```
How about the reading scenario? Could we make the fixed value 30s
configurable?
Or just theat this like above said, only improve the ElasticSearch server?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]