Commit ecbc360
authored
Run
This action solely needs the cluster state, it can run on any node.
Since this action is invoked across clusters, we need to be able to
(de)serialize requests and responses. We introduce a new
`RemoteClusterStateRequest` that wraps the existing
`ClusterStateRequest` and implements (de)serialization.TransportClusterStateAction on local node (elastic#129872)1 parent ac9bef6 commit ecbc360
File tree
53 files changed
+478
-459
lines changed- docs/changelog
- plugins/discovery-gce/src/internalClusterTest/java/org/elasticsearch/discovery/gce
- rest-api-spec/src/main/resources/rest-api-spec/api
- server/src
- internalClusterTest/java/org/elasticsearch
- action
- admin/cluster/state
- support
- cluster
- coordination
- routing/allocation
- discovery
- gateway
- recovery
- search/basic
- snapshots
- main/java/org/elasticsearch
- action
- admin/cluster/state
- rest/action
- admin/cluster
- cat
- transport
- test/java/org/elasticsearch
- action/admin/cluster/state
- client/internal
- discovery
- snapshots
- transport
- test/framework/src/main/java/org/elasticsearch
- indices/recovery
- test
- x-pack/plugin
- ccr/src
- main/java/org/elasticsearch/xpack/ccr
- action
- repository
- test/java/org/elasticsearch/xpack/ccr
- ml/src/internalClusterTest/java/org/elasticsearch/xpack/ml/integration
- security
- qa/security-trial/src/javaRestTest/java/org/elasticsearch/xpack/security/crossclusteraccess
- src/test/java/org/elasticsearch/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+478
-459
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
| 81 | + | |
84 | 82 | | |
85 | 83 | | |
86 | | - | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
Lines changed: 2 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 48 | | |
68 | 49 | | |
69 | 50 | | |
70 | 51 | | |
71 | 52 | | |
72 | | - | |
| 53 | + | |
73 | 54 | | |
74 | | - | |
75 | 55 | | |
76 | 56 | | |
77 | | - | |
78 | 57 | | |
79 | 58 | | |
80 | 59 | | |
| |||
87 | 66 | | |
88 | 67 | | |
89 | 68 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 69 | | |
124 | 70 | | |
125 | 71 | | |
| |||
131 | 77 | | |
132 | 78 | | |
133 | 79 | | |
134 | | - | |
| 80 | + | |
135 | 81 | | |
136 | | - | |
137 | 82 | | |
138 | 83 | | |
139 | 84 | | |
140 | | - | |
141 | 85 | | |
142 | 86 | | |
143 | 87 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 138 | + | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
Lines changed: 13 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
| |||
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 123 | + | |
130 | 124 | | |
131 | | - | |
| 125 | + | |
132 | 126 | | |
133 | 127 | | |
134 | 128 | | |
| |||
144 | 138 | | |
145 | 139 | | |
146 | 140 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 141 | + | |
150 | 142 | | |
151 | 143 | | |
152 | 144 | | |
| |||
176 | 168 | | |
177 | 169 | | |
178 | 170 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 171 | + | |
183 | 172 | | |
184 | 173 | | |
185 | 174 | | |
| |||
192 | 181 | | |
193 | 182 | | |
194 | 183 | | |
195 | | - | |
196 | | - | |
197 | | - | |
| 184 | + | |
198 | 185 | | |
199 | 186 | | |
200 | 187 | | |
| |||
220 | 207 | | |
221 | 208 | | |
222 | 209 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
229 | 213 | | |
230 | 214 | | |
231 | 215 | | |
| |||
261 | 245 | | |
262 | 246 | | |
263 | 247 | | |
| 248 | + | |
264 | 249 | | |
265 | | - | |
| 250 | + | |
266 | 251 | | |
267 | 252 | | |
268 | 253 | | |
| |||
271 | 256 | | |
272 | 257 | | |
273 | 258 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 259 | + | |
278 | 260 | | |
279 | 261 | | |
280 | 262 | | |
| |||
Lines changed: 10 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
96 | 89 | | |
97 | 90 | | |
98 | 91 | | |
| |||
246 | 239 | | |
247 | 240 | | |
248 | 241 | | |
249 | | - | |
| 242 | + | |
| 243 | + | |
250 | 244 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 245 | + | |
260 | 246 | | |
261 | 247 | | |
262 | 248 | | |
| |||
346 | 332 | | |
347 | 333 | | |
348 | 334 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
355 | 338 | | |
356 | 339 | | |
357 | 340 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 37 | + | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
| |||
0 commit comments