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

Is updation of an autofollow replication rule allowed? #1394

Open
skumarp7 opened this issue Jun 6, 2024 · 4 comments
Open

Is updation of an autofollow replication rule allowed? #1394

skumarp7 opened this issue Jun 6, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@skumarp7
Copy link
Contributor

skumarp7 commented Jun 6, 2024

Is updation of an autofollow replication rule allowed?

Consider that an autofollow replication rule (test-rule) exists in the system which corresponds to the index pattern (test-). Now when we try to update the rule with a new index pattern (new-), the API returns {acknowledge: true} but there is no index getting replicated of the updated index pattern (new-). The indices falling under test- are getting replicated even after the updation of replication rule.

What is the expected behavior?

  • If updation of replication rule is allowed, then the new index pattern should be considered for the replication.
  • If its not allowed, then the API should not return with response 200.
@skumarp7 skumarp7 added bug Something isn't working untriaged labels Jun 6, 2024
@skumarp7
Copy link
Contributor Author

Hi @ankitkala @monusingh-1,

Any insight on the above query ?

In the above sceanrio, it would be better to check if there any existing replication rule before creating a new replication rule (i.e) the API should throw exception in case of overriding an existing rule.

@ankitkala
Copy link
Member

I think we should block the autofollow rule updates with proper validations.

@skumarp7
Copy link
Contributor Author

Hi @ankitkala ,

can you assign this ticket to me? I would like to work on it :)

@dblock
Copy link
Member

dblock commented Jul 1, 2024

[Catch All Triage - Attendees 1, 2, 3, 4, 5]

@dblock dblock added enhancement New feature or request and removed bug Something isn't working untriaged labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants