elasticsearch/modules/rest-root
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
..
src Remove dangerous default executor from HandledTransportAction (#100162) 2023-10-03 17:54:52 -04:00
build.gradle Refactor RestMainAction into separate module (#95881) 2023-05-10 14:39:00 +02:00