diff --git a/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java b/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java index 4ed2e8fa1fe25..a428503f61971 100644 --- a/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java +++ b/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java @@ -68,7 +68,10 @@ public class SingleNodeShutdownMetadata implements SimpleDiffable p.textOrNull(), + NODE_EPHEMERAL_ID_FIELD, + ObjectParser.ValueType.STRING_OR_NULL); PARSER.declareString(ConstructingObjectParser.constructorArg(), TYPE_FIELD); PARSER.declareString(ConstructingObjectParser.constructorArg(), REASON_FIELD); PARSER.declareLong(ConstructingObjectParser.constructorArg(), STARTED_AT_MILLIS_FIELD); @@ -116,6 +119,7 @@ public static SingleNodeShutdownMetadata parse(XContentParser parser) { */ private SingleNodeShutdownMetadata( String nodeId, + @Nullable String nodeEphemeralId, Type type, String reason,