We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d342a commit 2a1435fCopy full SHA for 2a1435f
internal/benchrunner/runners/common/elasticsearch.go
@@ -27,6 +27,7 @@ func CountDocsInDataStream(ctx context.Context, esapi *elasticsearch.API, dataSt
27
defer resp.Body.Close()
28
29
if resp.StatusCode == http.StatusServiceUnavailable && strings.Contains(resp.String(), "no_shard_available_action_exception") {
30
+ logger.Debugf("could not get total hits (no_shard_available_action exception): %s", resp.String())
31
// Index is being created, but no shards are available yet.
32
// See https://github.com/elastic/elasticsearch/issues/65846
33
return 0, nil
0 commit comments