Skip to content

Conversation

@jbaiera
Copy link
Member

@jbaiera jbaiera commented Dec 7, 2022

Backport

This will backport the following commits from main to 8.6:

Questions ?

Please refer to the Backport tool documentation

This PR refactors the locking logic for enrich policies so that enrich index names are resolved early so that they may be explicitly protected from maintenance tasks on the master node. The maintenance service has been optimized to allow for concurrent removal of old enrich indices while policies are executing. Further concurrency changes were made to improve the thread safety of the system (such as removing the double check locking in maintenance and the ability to unlock policies from code that does not hold the lock). (cherry picked from commit 998520e)
@jbaiera jbaiera merged commit 26f5df9 into elastic:8.6 Dec 7, 2022
@jbaiera jbaiera deleted the backport/8.6/pr-90931 branch December 7, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants