OpenSearch/plugin
Jay Modi 4ae1ca5fa5 Security: IndexLifecycleManager provides a consistent view of index state (elastic/x-pack-elasticsearch#3008)
This commit changes the IndexLifecycleManager's handling of variables about an index to only update
all of the values at a single time. Previously, all of the index state variables were volatile
members of the IndexLifecycleManager, which meant we could get an inconsistent view of the index
state. Although rare, this is still incorrect so this change adds a single volatile variable that
holds the state as of the last processed cluster state update.

Additionally, the IndexLifecycleManagerIntegTests were updated to have more concurrency and further
stress this portion of the code and its checks.

relates elastic/x-pack-elasticsearch#2973

Original commit: elastic/x-pack-elasticsearch@5f1552b298
2017-11-21 10:17:08 -07:00
..
bin/x-pack Usability enhancements for certificate generation (elastic/x-pack-elasticsearch#2561) 2017-10-30 13:08:31 +11:00
bwc Test: update the branch logic for BWC tests 2017-11-09 13:03:40 -07:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
forbidden Fix LDAP Authc connections deadlock (elastic/x-pack-elasticsearch#2587) 2017-10-09 13:06:12 +03:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Add "client-api-objects" dependency for xpack plugin and transport-client (elastic/x-pack-elasticsearch#2995) 2017-11-15 09:49:00 -07:00
ml-cpp-snapshot [BUILD] Make AWS error message more informative 2017-09-14 14:46:48 +01:00
src Security: IndexLifecycleManager provides a consistent view of index state (elastic/x-pack-elasticsearch#3008) 2017-11-21 10:17:08 -07:00
build.gradle Move the CLI into its own subproject (elastic/x-pack-elasticsearch#3032) 2017-11-18 21:43:25 -06:00