cross-cluster-replication
cross-cluster-replication copied to clipboard
Is updation of an autofollow replication rule allowed?
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.