OpenSearch/x-pack
Jay Modi 09a124e8d6
Native roles store uses mget to retrieve roles (#33531)
The native roles store previously would issue a search if attempting to
retrieve more than a single role. This is fine when we are attempting
to retrieve all of the roles to list them in the api, but could cause
issues when attempting to find roles for a user. The search is not
prioritized over other search requests, so heavy aggregations/searches
or overloaded nodes could cause roles to be cached as missing if the
search is rejected.

When attempting to load specific roles, we know the document id for the
role that we are trying to load, which allows us to use the multi-get
api for loading these roles. This change makes use of the multi-get api
when attempting to load more than one role by name. This api is also
constrained by a threadpool but the tasks in the GET threadpool should
be quicker than searches.

See #33205
2018-10-30 13:35:07 -06:00
..
dev-tools Build: Merge xpack checkstyle config into core (#33399) 2018-09-05 09:17:02 -04:00
docs [Docs] audit logfile structured format (#34584) 2018-10-26 15:19:35 +03:00
license-tools Persist generated public keys unencrypted (#34626) 2018-10-24 13:55:21 +03:00
plugin Native roles store uses mget to retrieve roles (#33531) 2018-10-30 13:35:07 -06:00
qa Graph: Move qa into plugin (#34517) 2018-10-30 15:14:33 -04:00
test Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
transport-client Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
NOTICE.txt
README.md Reorganize license files 2018-04-20 15:33:59 -07:00
build.gradle HLRC XPack Protocol clean up: Migration; Graph; Watcher (#34639) 2018-10-29 13:38:56 +01:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.