OpenSearch/plugin
Tim Vernum b228ad0511 [Security] Cache action privilege testing for bulk items (elastic/x-pack-elasticsearch#2526)
Since we are authorising on a single shard of a single index,
and there are only 3 possible actions that an item might represent,
we can test which items are authorised with a maximum of 3 permission
evaluations, regardless of how many items are actually in the shard
request. Previously we would test them all independently which had
a much higher overhead for large bulk requests.

Relates: elastic/x-pack-elasticsearch#2369 

Original commit: elastic/x-pack-elasticsearch@aceacf0aa3
2017-10-04 18:46:37 +11:00
..
bin/x-pack Add x-pack-env.bat 2017-08-23 14:16:36 -04:00
bwc Build: Add build metadata generation and usage to xpack (elastic/x-pack-elasticsearch#2368) 2017-08-28 14:03:02 -07:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Update BouncyCastle version from 1.55 to 1.58 (elastic/x-pack-elasticsearch#2548) 2017-09-21 11:30:42 +03:00
ml-cpp-snapshot [BUILD] Make AWS error message more informative 2017-09-14 14:46:48 +01:00
src [Security] Cache action privilege testing for bulk items (elastic/x-pack-elasticsearch#2526) 2017-10-04 18:46:37 +11:00
build.gradle Update BouncyCastle version from 1.55 to 1.58 (elastic/x-pack-elasticsearch#2548) 2017-09-21 11:30:42 +03:00