OpenSearch/modules
Martijn van Groningen 6030d4be1e
[INGEST] Interrupt the current thread if evaluation grok expressions take too long (#31024)
This adds a thread interrupter that allows us to encapsulate calls to org.joni.Matcher#search()
This method can hang forever if the regex expression is too complex.

The thread interrupter in the background checks every 3 seconds whether there are threads
execution the org.joni.Matcher#search() method for longer than 5 seconds and
if so interrupts these threads.

Joni has checks that that for every 30k iterations it checks if the current thread is interrupted and
if so returns org.joni.Matcher#INTERRUPTED

Closes #28731
2018-06-12 07:49:03 +02:00
..
aggs-matrix-stats Decouple MultiValueMode. (#31075) 2018-06-05 08:51:20 +02:00
analysis-common Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
ingest-common [INGEST] Interrupt the current thread if evaluation grok expressions take too long (#31024) 2018-06-12 07:49:03 +02:00
lang-expression Decouple MultiValueMode. (#31075) 2018-06-05 08:51:20 +02:00
lang-mustache Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
lang-painless Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
mapper-extras Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
parent-join Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
percolator Remove version argument in RangeFieldType (#30411) 2018-05-16 17:42:44 +02:00
rank-eval Fix expectation on parsing exception (#31108) 2018-06-06 09:58:16 +02:00
reindex Upgrade to Netty 4.1.25.Final (#31232) 2018-06-11 16:55:07 -04:00
repository-url Remove BlobContainer.move() method (#31100) 2018-06-07 10:48:31 +02:00
transport-netty4 Upgrade to Netty 4.1.25.Final (#31232) 2018-06-11 16:55:07 -04:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00