From 7d4676529cb505d743effd53f32c0f069a03cc97 Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Wed, 27 Aug 2025 10:52:11 +0200 Subject: [PATCH] shard failure update (#5178) (cherry picked from commit 168e4056653dd7f3246ad090aa3ef7e141de6d25) --- specification/_types/Errors.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/_types/Errors.ts b/specification/_types/Errors.ts index 6275b4ae27..58b9e8d04c 100644 --- a/specification/_types/Errors.ts +++ b/specification/_types/Errors.ts @@ -50,11 +50,15 @@ export class ErrorCause } export class ShardFailure { + /** @aliases _index */ index?: IndexName + /** @aliases _node */ node?: string reason: ErrorCause - shard: integer + /** @aliases _shard */ + shard?: integer status?: string + primary?: boolean } export class BulkIndexByScrollFailure {