Commit 5ed27a7
authored
[ML] Reject data frame analytics using runtime fields if not all nodes support it (#69331)
When a data frame anylytics job config contains runtime mappings, when the task
starts the destination index will be created with a `runtime` section in its mappings.
If the cluster contains nodes that are on a version prior to the addition of runtime
fields, the index creation will fail. Thus, this commit adds a check to prevent such
jobs from being created and it informs the user on the preconditions for using
runtime fields in data frame analytics.1 parent c0a4076 commit 5ed27a7
File tree
1 file changed
+17
-0
lines changed- x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
118 | 135 | | |
119 | 136 | | |
120 | 137 | | |
| |||
0 commit comments