Commit 35ea94f
committed
Always compress based on the settings (elastic#36522)
Currently TransportRequestOptions allows specific requests to request
compression. This commit removes this and always compresses based on the
settings. Additionally, it removes TransportResponseOptions as they
are unused.
This closes elastic#36399.1 parent ae7be72 commit 35ea94f
File tree
16 files changed
+39
-155
lines changed- server/src/main/java/org/elasticsearch
- action
- admin/cluster
- node/tasks/get
- snapshots/status
- bulk
- support
- nodes
- tasks
- discovery/zen
- gateway
- indices/recovery
- transport
- test/framework/src/main/java/org/elasticsearch/transport
16 files changed
+39
-155
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 48 | + | |
52 | 49 | | |
53 | 50 | | |
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
| |||
182 | 178 | | |
183 | 179 | | |
184 | 180 | | |
185 | | - | |
186 | 181 | | |
187 | 182 | | |
188 | 183 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 225 | | |
230 | 226 | | |
231 | 227 | | |
| |||
265 | 261 | | |
266 | 262 | | |
267 | 263 | | |
268 | | - | |
269 | 264 | | |
270 | 265 | | |
271 | 266 | | |
| |||
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
282 | 287 | | |
283 | 288 | | |
284 | 289 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | 325 | | |
329 | 326 | | |
330 | | - | |
| 327 | + | |
331 | 328 | | |
332 | 329 | | |
333 | 330 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 98 | | |
104 | 99 | | |
105 | 100 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
Lines changed: 16 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 340 | + | |
345 | 341 | | |
346 | 342 | | |
347 | 343 | | |
| |||
768 | 764 | | |
769 | 765 | | |
770 | 766 | | |
771 | | - | |
| 767 | + | |
772 | 768 | | |
773 | 769 | | |
774 | 770 | | |
775 | | - | |
| 771 | + | |
776 | 772 | | |
777 | 773 | | |
778 | 774 | | |
| |||
871 | 867 | | |
872 | 868 | | |
873 | 869 | | |
874 | | - | |
875 | | - | |
| 870 | + | |
| 871 | + | |
876 | 872 | | |
877 | 873 | | |
878 | 874 | | |
| |||
882 | 878 | | |
883 | 879 | | |
884 | 880 | | |
885 | | - | |
| 881 | + | |
886 | 882 | | |
887 | | - | |
888 | | - | |
889 | | - | |
| 883 | + | |
890 | 884 | | |
891 | 885 | | |
892 | 886 | | |
893 | | - | |
| 887 | + | |
894 | 888 | | |
895 | 889 | | |
896 | | - | |
| 890 | + | |
897 | 891 | | |
898 | 892 | | |
899 | 893 | | |
900 | 894 | | |
901 | 895 | | |
902 | 896 | | |
903 | 897 | | |
904 | | - | |
905 | 898 | | |
906 | 899 | | |
907 | | - | |
| 900 | + | |
908 | 901 | | |
909 | 902 | | |
910 | 903 | | |
| |||
1530 | 1523 | | |
1531 | 1524 | | |
1532 | 1525 | | |
1533 | | - | |
| 1526 | + | |
1534 | 1527 | | |
1535 | | - | |
| 1528 | + | |
1536 | 1529 | | |
1537 | 1530 | | |
1538 | 1531 | | |
| |||
0 commit comments