Hi,
I have found something weird using 1.2.0.
I start the replication, everything works fine but if i pause it, when i resume it i got an error and if i check the status, looks like it’s running but the follower checkpoint does not move forward.
[opensearch@opensearch-replica-master-2 ~]$ curl -XPOST -k -H 'Content-Type: application/json' 'http://admin:xxx@localhost:9200/_plugins/_replication/cadence-visibility/_pause?pretty' -d '{}'
{
"acknowledged" : true
}
[opensearch@opensearch-replica-master-2 ~]$ curl -XGET -u admin:xxx 'http://localhost:9200/_plugins/_replication/cadence-visibility/_status?pretty'
{
"status" : "PAUSED",
"reason" : "User initiated",
"leader_alias" : "master",
"leader_index" : "cadence-visibility",
"follower_index" : "cadence-visibility"
}
Some minutes later...
[opensearch@opensearch-replica-master-2 ~]$ curl -XPOST -k -H 'Content-Type: application/json' 'http://admin:xxx@localhost:9200/_plugins/_replication/cadence-visibility/_resume?pretty' -d '{}'
{
"error" : {
"root_cause" : [
{
"type" : "resource_already_exists_exception",
"reason" : "task with id {replication:index:cadence-visibility} already exist"
}
],
"type" : "resource_already_exists_exception",
"reason" : "task with id {replication:index:cadence-visibility} already exist"
},
"status" : 400
}
[opensearch@opensearch-replica-master-2 ~]$ curl -XGET -u admin:xxx 'http://localhost:9200/_plugins/_replication/cadence-visibility/_status?pretty'
{
"status" : "SYNCING",
"reason" : "User initiated",
"leader_alias" : "master",
"leader_index" : "cadence-visibility",
"follower_index" : "cadence-visibility",
"syncing_details" : {
"leader_checkpoint" : 765518,
"follower_checkpoint" : 764450,
"seq_no" : 764450
}
}
I tried with 2 differents clusters running 1.2.0 and the results are the same.