elasticsearch/client
David Turner 0a31ce64a9
Remove dangerous default executor from HandledTransportAction (#100162)
Today subclasses of `HandledTransportAction` can specify the executor on
which they run, but the executor is optional and if omitted will use
`DIRECT_EXECUTOR_SERVICE`, which means the action runs on a transport
thread. This is a dangerous default behaviour because it makes it easy
to add new transport actions which implicitly run on a network thread,
which is very hard to pick up in reviews.

This commit makes the executor explicit in all callers, and marks the
dangerous methods for removal.
2023-10-03 17:54:52 -04:00
..
benchmark Update Gradle Wrapper to 8.2 (#96686) 2023-07-04 15:35:15 +02:00
client-benchmark-noop-api-plugin Remove dangerous default executor from HandledTransportAction (#100162) 2023-10-03 17:54:52 -04:00
rest Update Gradle Wrapper to 8.2 (#96686) 2023-07-04 15:35:15 +02:00
rest-high-level Move transport version constants to TransportVersions (#97990) 2023-09-06 15:14:41 -04:00
sniffer Update Gradle Wrapper to 8.2 (#96686) 2023-07-04 15:35:15 +02:00
test Update Gradle Wrapper to 8.2 (#96686) 2023-07-04 15:35:15 +02:00