OpenSearch/elasticsearch
Jay Modi 4239ba5415 allow reads of native users and roles when template version hasn't been updated
This change allows reads of our native users and roles when the template version has not been updated to
match the current version. This is useful for rolling upgrades where the nodes are also being actively
queried and/or indexed into. Without this, we can wreak havoc on a cluster by causing exceptions during
replication, which leads to shard failures. On nodes that match the version defined in the template,
write operations are allowed since we know that we are backwards compatible in terms of format but we
may have added new fields and shouldn't index them until the mappings and template have been updated.

As part of this, the rolling upgrade tests from core were used as the basis for a very basic set of tests
for doing a rolling upgrade with x-pack.

Closes elastic/elasticsearch#4126

Original commit: elastic/x-pack-elasticsearch@9be518ef00
2016-11-22 12:00:09 -05:00
..
bin/x-pack Build: Reorganize src roots 2016-10-01 09:46:43 +02:00
config/x-pack Build: Reorganize src roots 2016-10-01 09:46:43 +02:00
keys Collapsed license code into xpack src 2016-09-29 12:22:19 +02:00
src allow reads of native users and roles when template version hasn't been updated 2016-11-22 12:00:09 -05:00
NOTICE.txt Moved directories around 2016-09-29 12:03:14 +02:00
build.gradle Watcher: Add JIRA action (elastic/elasticsearch#4014) 2016-11-21 10:52:55 +01:00