diff --git a/quickwit/quickwit-serve/src/elasticsearch_api/bulk_v2.rs b/quickwit/quickwit-serve/src/elasticsearch_api/bulk_v2.rs index d6578c699bc..3a142b82b2e 100644 --- a/quickwit/quickwit-serve/src/elasticsearch_api/bulk_v2.rs +++ b/quickwit/quickwit-serve/src/elasticsearch_api/bulk_v2.rs @@ -273,6 +273,11 @@ fn make_elastic_bulk_response_v2( format!("shard rate limiting [{}]", failure.index_id), StatusCode::TOO_MANY_REQUESTS, ), + IngestFailureReason::NoShardsAvailable => ( + ElasticException::RateLimited, + format!("no shards available [{}]", failure.index_id), + StatusCode::TOO_MANY_REQUESTS, + ), reason => { let pretty_reason = reason .as_str_name()