generated from amazon-archives/__template_Apache-2.0
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 76
Closed
Labels
bugSomething isn't workingSomething isn't workingmust_fixv2.3.0'Issues and PRs related to version v2.3.0''Issues and PRs related to version v2.3.0'v2.x
Description
What is the bug?
When a node is replace with another node and the shard migrates to the new node, the shard replication task does not start sometimes which results in replication not working.
The bug is in this code where the index task checks for shard tasks for all indices. Even if one shard task is present for any other index it bails out. This code should be modified to check the shard tasks for the particular index only.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Start replication for atleast 2 indices
- Add a new node to the cluster
- Shutdown ES on the node where the index replication task is running
- Index replication task should start on any of the new nodes
- Shard replication task may not start on the new node(May have to repeat to this simulate the issue as it is intermittent)
What is the expected behavior?
Index and Shard replication task should start after they are stopped due to node replacement
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmust_fixv2.3.0'Issues and PRs related to version v2.3.0''Issues and PRs related to version v2.3.0'v2.x