Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CCR] Introduce leader index setting for follow index #31505

Closed
martijnvg opened this issue Jun 21, 2018 · 1 comment
Closed

[CCR] Introduce leader index setting for follow index #31505

martijnvg opened this issue Jun 21, 2018 · 1 comment
Assignees
Labels
:Distributed Indexing/CCR Issues around the Cross Cluster State Replication features >enhancement

Comments

@martijnvg
Copy link
Member

Associate the uuid of the leader index in the follow index's index settings.
The follow index api should fail if this index setting in the follow index and
should check if the uuid in the follow index matches with uuid of the leader index.

This validation will prevent a follow index from following an incompatible leader index.

The create and follow api should introduce this setting when it creates the follow index.

Relates to #30086

@martijnvg martijnvg added >enhancement :Distributed Indexing/CCR Issues around the Cross Cluster State Replication features labels Jun 21, 2018
@martijnvg martijnvg self-assigned this Jun 21, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Jun 22, 2018
… index in the follow index.

The follow index api checks if the uuid in the follow index matches
with uuid of the leader index and fails otherwise. This validation will
prevent a follow index from following an incompatible leader index.

The create_and_follow api will automatically add this index setting
when it creates the follow index.

Closes elastic#31505
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Aug 30, 2018
…e leader index in the follow index

The follow index api checks if the recorded uuid in the follow index matches
with uuid of the leader index and fails otherwise. This validation will
prevent a follow index from following an incompatible leader index.

The create_and_follow api will automatically add this custom index metadata
when it creates the follow index.

Closes elastic#31505
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Sep 4, 2018
…e leader index in the follow index

The follow index api checks if the recorded uuid in the follow index matches
with uuid of the leader index and fails otherwise. This validation will
prevent a follow index from following an incompatible leader index.

The create_and_follow api will automatically add this custom index metadata
when it creates the follow index.

Closes elastic#31505
martijnvg added a commit that referenced this issue Sep 13, 2018
…x in the follow index (#33367)

The follow index api checks if the recorded uuid in the follow index matches
with uuid of the leader index and fails otherwise. This validation will
prevent a follow index from following an incompatible leader index.

The create_and_follow api will automatically add this custom index metadata
when it creates the follow index.

Closes #31505
martijnvg added a commit that referenced this issue Sep 13, 2018
…x in the follow index (#33367)

The follow index api checks if the recorded uuid in the follow index matches
with uuid of the leader index and fails otherwise. This validation will
prevent a follow index from following an incompatible leader index.

The create_and_follow api will automatically add this custom index metadata
when it creates the follow index.

Closes #31505
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CCR Issues around the Cross Cluster State Replication features >enhancement
Projects
None yet
Development

No branches or pull requests

2 participants