Commit df65022
Remove remoteAddress field from TransportResponse (elastic#120016)
This field is only used (by security) for requests, having it in responses is redundant.
Also, we have a couple of responses that are singletons/quasi-enums where setting the value
needlessly might introduce some strange contention even though it's a plain store.
This isn't just a cosmetic change. It makes it clear at compile time that each response instance
is exclusively defined by the bytes that it is read from. This makes it easier to reason about the
validity of suggested optimizations like elastic#1200101 parent 677113e commit df65022
File tree
201 files changed
+20
-263
lines changed- modules
- data-streams/src/main/java/org/elasticsearch/datastreams/lifecycle/action
- ingest-common/src/main/java/org/elasticsearch/ingest/common
- lang-painless/src/main/java/org/elasticsearch/painless/action
- rank-eval/src/main/java/org/elasticsearch/index/rankeval
- server/src
- internalClusterTest/java/org/elasticsearch
- action/admin/cluster/node/tasks
- search/rank
- main/java/org/elasticsearch
- action
- admin
- cluster
- allocation
- coordination
- desirednodes
- health
- migration
- node
- shutdown
- tasks/get
- remote
- repositories/verify
- reroute
- shards
- snapshots
- create
- features
- get/shard
- restore
- status
- state
- stats
- storedscripts
- tasks
- indices
- get
- mapping/get
- resolve
- settings/get
- shards
- bulk
- datastreams/lifecycle
- explain
- fieldcaps
- get
- ingest
- search
- support
- broadcast
- node
- master
- nodes
- replication
- tasks
- synonyms
- termvectors
- index/reindex
- indices/recovery
- persistent
- search
- dfs
- fetch
- query
- rank/feature
- transport
- test/java/org/elasticsearch
- action/support
- master
- single/instance
- health/node/action
- indices/settings
- transport
- test/framework/src
- main/java/org/elasticsearch/transport
- test/java/org/elasticsearch/transport
- x-pack/plugin
- autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/action
- ccr/src/main/java/org/elasticsearch/xpack/ccr/action
- repositories
- core/src/main/java/org/elasticsearch
- license
- protocol/xpack
- xpack
- cluster/action
- core
- action
- ccr/action
- enrich/action
- ilm/action
- inference/action
- ml/action
- monitoring/action
- security/action
- apikey
- enrollment
- privilege
- service
- token
- user
- slm/action
- termsenum/action
- textstructure/action
- watcher/transport/actions
- deprecation/src/main/java/org/elasticsearch/xpack/deprecation
- ent-search/src/main/java/org/elasticsearch/xpack/application
- analytics/action
- connector
- action
- secrets/action
- syncjob/action
- rules/action
- search/action
- eql/src/main/java/org/elasticsearch/xpack/eql/action
- esql
- compute/src/main/java/org/elasticsearch/compute/operator/exchange
- src/main/java/org/elasticsearch/xpack/esql/plugin
- fleet/src/main/java/org/elasticsearch/xpack/fleet/action
- logstash/src/main/java/org/elasticsearch/xpack/logstash/action
- migrate/src/main/java/org/elasticsearch/xpack/migrate/action
- profiling/src/main/java/org/elasticsearch/xpack/profiling/action
- searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/action/cache
- snapshot-repo-test-kit/src/main/java/org/elasticsearch/repositories/blobstore/testkit/analyze
- sql/sql-action/src/main/java/org/elasticsearch/xpack/sql/action
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
201 files changed
+20
-263
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
467 | 466 | | |
468 | 467 | | |
469 | 468 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
499 | | - | |
500 | | - | |
| 498 | + | |
501 | 499 | | |
502 | 500 | | |
503 | 501 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 200 | | |
206 | 201 | | |
207 | 202 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
0 commit comments