Closed ivan32rus closed 7 months ago
Hi @ivan32rus
Can you verify the cluster state after stopping the replication to check whether task is present in persistent_tasks. Also check what is the value of assignment
key in persistent task object related to replication:index:index-001-v1-2024.01
task. By running this command you will get the persistent tasks in the cluster.
curl localhost:9200/_cluster/state?filter_path=**.persistent_tasks
Hi @nisgoel-amazon !!! I see such an entry "assignment" : { "executor_node" : null Restarting replication does not help...
The question arises, is there anyway to remove the hung persistent_tasks associated with ccr.
I understand there is a solution here?! https://github.com/opensearch-project/cross-cluster-replication/pull/905
Related question https://github.com/opensearch-project/cross-cluster-replication/issues/840
We are really looking forward to the solution in the task "Remove all style replication tasks from cluster state #905"
Thanks!
Hi @ivan32rus @monusingh-1 Already answered your question in https://github.com/opensearch-project/cross-cluster-replication/issues/840. Can we close this ticket
Thank you, yes of course!!!
What is the bug? Cross-cluster replication (Automatic starts replication)
Liader (connection-cluster-TEST01) Installing - 6 VM 3 master and 3 data Follower (connection-cluster-TEST02) Installing - 6 VM 3 master and 3 data
After replication fails, it is not possible to continue replication - ResourceAlreadyExistsException[task with id {replication:index:TEST-INDEX} already exist]
How can one reproduce the bug? Steps to reproduce the behavior:
4.2 POST /_plugins/_replication/index-001-v1-2024.01/_stop {}
4.3 DELETE index-001-v1-2024.01
But there is no such index! And I can't find a task to delete it! This problem repeats all the time with different indexes, when connectivity between clusters is disrupted!
What is your host/environment? OS: linux Distribution opensearch number: 2.3.0 Plugins version: 2.3.0.0
ps Maybe these are related things, but these solutions don't help me! https://github.com/opensearch-project/cross-cluster-replication/issues/840 https://github.com/opensearch-project/cross-cluster-replication/issues/202