New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute EnrichPolicyRunner on a non dedicated master node. #76881
Execute EnrichPolicyRunner on a non dedicated master node. #76881
Commits on Aug 25, 2021
-
Execute EnrichPolicyRunner on a non dedicated master node.
Introduce an internal action that the execute policy action delegates to. This to ensure that the actual policy execution is never executed on the elected master node or dedicated master nodes. In case the cluster consists out of a single node then the internal action will attempt to execute on the current/local node. The actual enrich policy execution is encapsulated in the `EnrichPolicyRunner` class. This class manages the execution of several API calls, so this itself isn't doing anything heavy. However the coordination of these api calls (in particular the reindex api call) may involve some non-neglectable work/overhead and this shouldn't be performed on the elected master or any other dedicated master node. Closes elastic#70436
Configuration menu - View commit details
-
Copy full SHA for 5d7a948 - Browse repository at this point
Copy the full SHA 5d7a948View commit details
Commits on Aug 26, 2021
-
Co-authored-by: Dan Hermann <danhermann@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 71c92b1 - Browse repository at this point
Copy the full SHA 71c92b1View commit details
Commits on Aug 31, 2021
-
Merge remote-tracking branch 'es/master' into enrich_delegate_policy_…
…runner_to_non_dedicated_master_node
Configuration menu - View commit details
-
Copy full SHA for 3ba6850 - Browse repository at this point
Copy the full SHA 3ba6850View commit details -
In case of wait_for_completion=false policy execution then return the…
… response but not release the policy immediately. Execute get task request with wait_for_completion=true and when that returns release the policy.
Configuration menu - View commit details
-
Copy full SHA for c882254 - Browse repository at this point
Copy the full SHA c882254View commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f25f1e0 - Browse repository at this point
Copy the full SHA f25f1e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e455d4 - Browse repository at this point
Copy the full SHA 3e455d4View commit details -
Merge remote-tracking branch 'es/master' into enrich_delegate_policy_…
…runner_to_non_dedicated_master_node
Configuration menu - View commit details
-
Copy full SHA for 8408eee - Browse repository at this point
Copy the full SHA 8408eeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b86ca - Browse repository at this point
Copy the full SHA e9b86caView commit details