From 6d81137f2ddbb385845a7983f92b661c6075b4e0 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 750a305525..35a61b0ede 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 {