OpenSearch/x-pack/plugin
Yang Wang a84469742c
Improve role cache efficiency for API key roles (#58156) (#59397)
This PR ensure that same roles are cached only once even when they are from different API keys.
API key role descriptors and limited role descriptors are now saved in Authentication#metadata
as raw bytes instead of deserialised Map<String, Object>.
Hashes of these bytes are used as keys for API key roles. Only when the required role is not found
in the cache, they will be deserialised to build the RoleDescriptors. The deserialisation is directly
from raw bytes to RoleDescriptors without going through the current detour of
"bytes -> Map -> bytes -> RoleDescriptors".
2020-07-13 22:58:11 +10:00
..
analytics MappedFieldType no longer requires equals/hashCode/clone (#59212) 2020-07-09 21:05:10 +01:00
async [7.x] EQL: Adds an ability to execute an asynchronous EQL search (#58192) 2020-06-25 14:11:57 -04:00
async-search Improve cardinality measure used to build aggs (#56533) (#59107) 2020-07-08 08:42:23 -04:00
autoscaling 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
ccr [TEST] Mute FollowerFailOverIT.testFailOverOnFollower (#58659) (#59286) 2020-07-09 12:38:36 +02:00
core Improve role cache efficiency for API key roles (#58156) (#59397) 2020-07-13 22:58:11 +10:00
deprecation [7.x] Add include_data_streams flag for authorization (#59008) 2020-07-03 12:58:39 -05:00
enrich Add Support in geo_match enrichment policy for any type of geometry (#59276) 2020-07-09 11:41:41 +02:00
eql Data stream support for EQL search 2020-07-09 13:10:44 -05:00
frozen-indices MappedFieldType should not extend FieldType (#58160) 2020-06-16 16:56:43 +01:00
graph 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
identity-provider Treat roles as a SortedSet (#58988) 2020-07-03 13:40:58 +10:00
ilm Fix SLMSnapshotBlockingIntegTests.testSnapshotInProgress (#59218) (#59239) 2020-07-08 19:13:01 +02:00
logstash Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
mapper-constant-keyword MappedFieldType no longer requires equals/hashCode/clone (#59212) 2020-07-09 21:05:10 +01:00
mapper-flattened MappedFieldType no longer requires equals/hashCode/clone (#59212) 2020-07-09 21:05:10 +01:00
ml [7.x][ML] Data frame analytics max_num_threads setting (#59254) (#59308) 2020-07-09 19:15:46 +03:00
monitoring Split license allowed checks into two types (#58704) (#58797) 2020-07-01 07:11:05 -07:00
ql EQL: Obey size request parameter (#59014) 2020-07-06 19:14:25 +03:00
rollup Data stream support for rollup search 2020-07-10 11:13:34 -05:00
search-business-rules Unify dependency licenses task configuration (#58116) (#58274) 2020-06-18 08:15:50 +02:00
searchable-snapshots Mute testMaxRestoreBytesPerSecIsUsed (#59289) 2020-07-09 12:52:17 +02:00
security Improve role cache efficiency for API key roles (#58156) (#59397) 2020-07-13 22:58:11 +10:00
spatial MappedFieldType no longer requires equals/hashCode/clone (#59212) 2020-07-09 21:05:10 +01:00
sql Add sample versions of standard deviation and variance funcs (#59093) (#59274) 2020-07-09 10:17:13 +02:00
src/test [7.x] Data stream admin actions are now index-level actions 2020-07-10 14:36:18 -05:00
stack [7.9] GET data stream API returns additional information (#59128) (#59177) 2020-07-07 20:30:09 +01:00
transform Fix the timestamp field of a data stream to @timestamp (#59210) 2020-07-08 17:30:46 +02:00
vectors Remove test backported in error 2020-07-09 21:45:41 +01:00
voting-only-node Introduce node.roles setting (#58512) 2020-06-25 14:14:51 -04:00
watcher 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
wildcard MappedFieldType no longer requires equals/hashCode/clone (#59212) 2020-07-09 21:05:10 +01:00
build.gradle 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00