mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Bring back automaton minimization (#119309)
The security codebase relies heavily on automata and caching these. The Lucene 10 upgrade removed automaton minimization which can result in a memory usage increase of >5x, esp. for roles with many application privileges. This PR brings back Automaton minimization to avoid the explosion in roles cache size. Relates: ES-10451
This commit is contained in:
parent
73f0a5e20c
commit
257ad517d2
11 changed files with 429 additions and 32 deletions
|
@ -480,4 +480,5 @@ module org.elasticsearch.server {
|
|||
exports org.elasticsearch.inference.configuration;
|
||||
exports org.elasticsearch.monitor.metrics;
|
||||
exports org.elasticsearch.plugins.internal.rewriter to org.elasticsearch.inference;
|
||||
exports org.elasticsearch.lucene.util.automaton;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue