mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Register LoggingAuditTrail as a ClusterStateListener. Avoid querying for the localNode while on the ClusterStateApplier thread, which tripps assertion. This can happen when logging audit events that originate from the system. relates elastic/x-pack-elasticsearch#3057 Original commit: elastic/x-pack-elasticsearch@66bc59682d