You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using index settings for ILM state is fragile and exposes too much
information that doesn't need to be exposed. Using custom index metadata
is more resilient and allows more controlled access to internal
information.
As part of these changes, moves away from using defaults for ILM-related
values, in favor of using null values to clearly indicate that the value is not
present.
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/indexlifecycle/IndexLifecycleExplainResponse.java
+38-38Lines changed: 38 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,14 @@ public class IndexLifecycleExplainResponse implements ToXContentObject, Writeabl
48
48
(boolean) a[1],
49
49
(String) a[2],
50
50
(boolean) (a[3] == null ? false: a[3]),
51
-
(long) (a[4] == null ? -1L: a[4]),
51
+
(Long) (a[4]),
52
52
(String) a[5],
53
53
(String) a[6],
54
54
(String) a[7],
55
55
(String) a[8],
56
-
(long) (a[9] == null ? -1L: a[9]),
57
-
(long) (a[10] == null ? -1L: a[10]),
58
-
(long) (a[11] == null ? -1L: a[11]),
56
+
(Long) (a[9]),
57
+
(Long) (a[10]),
58
+
(Long) (a[11]),
59
59
(BytesReference) a[12],
60
60
(PhaseExecutionInfo) a[13]));
61
61
static {
@@ -86,36 +86,36 @@ public class IndexLifecycleExplainResponse implements ToXContentObject, Writeabl
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/indexlifecycle/InitializePolicyContextStep.java
0 commit comments