As called out by @andrross here: https://github.com/opensearch-project/OpenSearch/pull/7283#discussion_r1244011596, we should update the interfaces and transform calls of the processors to catch the runtime exceptions. This will ensure that if threads are providing Interrupt exceptions are handled properly and threads can be interrupted.
As called out by @andrross here: https://github.com/opensearch-project/OpenSearch/pull/7283#discussion_r1244011596, we should update the interfaces and transform calls of the processors to catch the runtime exceptions. This will ensure that if threads are providing Interrupt exceptions are handled properly and threads can be interrupted.
Code ref: https://github.com/opensearch-project/OpenSearch/blob/b040d3bd01c46989d28414dbc7694c8079283502/server/src/main/java/org/opensearch/search/pipeline/Pipeline.java#L185-L194
@msfroh