OpenSearch/core
Jay Modi c47f24d406 BulkProcessor flush runnable preserves the thread context from creation time (#26718)
When using a bulk processor, the thread context was not preserved for the flush runnable which is
executed in another thread in the thread pool. This change wraps the flush runnable in a context
preserving runnable so that the headers and transients from the creation time of the bulk processor
are available during the execution of the flush.

Closes #26596
2017-09-20 10:19:42 -06:00
..
licenses Upgrade to Log4j 2.9.0 2017-08-31 09:54:35 -04:00
src BulkProcessor flush runnable preserves the thread context from creation time (#26718) 2017-09-20 10:19:42 -06:00
build.gradle Upgrade to Log4j 2.9.0 2017-08-31 09:54:35 -04:00