OpenSearch/libs/grok
Martijn van Groningen 63b169b600
Upgrade joni from 2.1.6 to 2.1.29 (#47570)
Backport of #47374

Changed the Grok class to use searchInterruptible(...) instead of search(...)
otherwise we can't interrupt long running matching via the thread watch
dog.

Joni now also provides another way to interrupt long running matches.
By invoking the interrupt() method on the Matcher. We need then to refactor
the watch thread dog to keep track of Matchers instead of Threads, but
it is a better way of doing this, since interrupting would be more direct
(not every 30k iterations) and efficient (checking a volatile field).
This work needs to be done in a follow up.
2019-10-04 12:54:49 -05:00
..
licenses Upgrade joni from 2.1.6 to 2.1.29 (#47570) 2019-10-04 12:54:49 -05:00
src Upgrade joni from 2.1.6 to 2.1.29 (#47570) 2019-10-04 12:54:49 -05:00
build.gradle Upgrade joni from 2.1.6 to 2.1.29 (#47570) 2019-10-04 12:54:49 -05:00