Hi all,
Would a bi-directional CCR setup as described in Bi-directional replication with Elasticsearch cross-cluster replication (CCR) | Elastic Blog work in opensearch ? And as follow-up question anybody have already experiences with it ?
Thx !
Hi all,
Would a bi-directional CCR setup as described in Bi-directional replication with Elasticsearch cross-cluster replication (CCR) | Elastic Blog work in opensearch ? And as follow-up question anybody have already experiences with it ?
Thx !
Haven’t tried myself but bi-directional CCR should work out of the box.
Could you please point to the proper OpenSearch documentation to enable bi-directional CCR, if you already done with it? ![]()
Or would be helpful if you can provide the steps to enable on AWS manager OpenSearch cluster.
Currently, we don’t have documentation for enabling bi-directional support for OpenSearch clusters.
Adding more details/caveats for this use-case,
I have a bi-directional setup.
First cluster setting
{
"persistent" : {
"cluster" : {
"remote" : {
"connection-to-first" : {
"seeds" : [
"xxx:9300",
"xxx:9300",
"xxx:9300"
],
"transport" : {
"compress" : "true"
}
}
},
Second cluster setting
{
"persistent" : {
"cluster" : {
"remote" : {
"connection-to-second" : {
"seeds" : [
"xxx:9300",
"xxx:9300",
"xxx:9300"
],
"transport" : {
"compress" : "true"
}
}
},
I can sync from first 10 data-streams to second but I dont know why, I can sync only 2 data-streams from second to first.
I get this error.
{
"error" : {
"root_cause" : [
{
"type" : "illegal_state_exception",
"reason" : "Timed out when waiting for persistent task after 30s"
}
],
"type" : "illegal_state_exception",
"reason" : "Timed out when waiting for persistent task after 30s"
},
"status" : 500
}
when I stop replication from one data-stream I can add just one, and then again I get this error ![]()
There is no explicit support for replication of data streams. It is currently an open feature request: [FEATURE] Data Streams support for cross cluster replication · Issue #357 · opensearch-project/cross-cluster-replication · GitHub