Questions tagged [xdcr]

Cross DataCenter Replication

18 questions
7
votes
2 answers

Couchbase XDCR in a Docker container

I need to have local Couchbase cluster and replicate data from our prod cluster onto it, can't have it installed directly on OS X (because of vbuckets incompatibility - prod cluster is on linux). Docker for the rescue. I've managed to create…
iLemming
  • 34,477
  • 60
  • 195
  • 309
5
votes
1 answer

Replicating Couchbase to ElasticSearch (w/ multiple indices)

Currently we're using Couchbase and ElasticSearch(2.x) and replicating data from CB to ES successfully using elasticsearch-transport-couchbase plugin. The problems began while upgrading to ES 5.6.4. Up until now, we used a single index in ES, and…
shays10
  • 509
  • 5
  • 18
4
votes
2 answers

How to get elasticsearch-transport-couchbase to work with ES5 + X-Pack security

I'm working on transitioning from ES 1.7 to 5.x and I'm having a problem with the elasticsearch-transport-couchbase plugin. It did work with ES 1.7 with Shield, and the credentials it used were specified in the elasticsearch.yml file: shield.user:…
2
votes
0 answers

Couchbase connectivity error in Couchbase connector elastic search

In the default-connector.toml, mentioned the domain url along with port no, Able to login to couchbase server through browser from the host specified(http://domain:18091). In connector It gives the error hosts = [‘domain:18091’] Exception in thread…
2
votes
1 answer

Sub-Document Mutate operations not working properly with XDCR

We have setup 2 couchbase clusters with XDCR between them. We are using sub-doc mutate to update document with new fields (there is no removal of any field, also no field is being overridden/updated). We found out that if we are updating same…
2
votes
1 answer

Couchbase/Elasticsearch connector for multiple buckets

Is there a way to replicate 2 or many couchbase buckets to elasticsearch using a single configuration file? I actually use this version of the couchbase elasticsearch connector: https://docs.couchbase.com/elasticsearch-connector/4.0/index.html I do…
2
votes
1 answer

Rest API for enabling advanced filtering in couchbase XDCR

From Documentation, we can see REST API available only for enable XDCR. Do we have REST for Enable advanced filtering like Filter Expression in XDCR? Please let me know where can i find REST API for Enable advanced filtering like Filter Expression…
arihant rk
  • 101
  • 5
2
votes
3 answers

Best Practices Securing ElasticSearch and Couchbase

I've been experimenting with trying to secure a Elasticsearch cluster with basic auth and TLS. I've successfully been able to do that using Search-Guard. The problem occurs with the Couchbase XDCR to Elasticsearch. I'm using a plugin called…
Viktor Plane
  • 127
  • 3
  • 16
2
votes
2 answers

bidirectional xdcr elasticsearch and couchbase

I am pretty new to elasticsearch and couchbase and I want to understand a few concepts in order to make decisions on how to use them in my applcation. My overall question: is it possible to configure bidirectional xdcr between couchbase and…
Kazi
  • 71
  • 5
2
votes
2 answers

elasticsearch transport-couchbase plugin refusing connection on port 9091

On my server I have installed elasticsearch-2.2.1 and couchbase server version 4.1.0. The aim is to transfer data from bucket x on couchbase to elastic search. Ive installed the transport-couchbase plugin on elastic-search which will basically allow…
Kazi
  • 71
  • 5
1
vote
1 answer

Couchbase bucket won't remove metadata with Full Ejection Mode

I can't understand how Couchbase bucket ejection methods exactly works. Db version is 7.0.3 enterprise. It has two methods as value-only and full. It says with full ejection, everything is deleted including metadata. However when you delete document…
sarah
  • 580
  • 1
  • 6
  • 24
1
vote
1 answer

Adding filter expression in collection mapping rules XDCR with Java client

I am integrating XDCR via JAVA Sdk. If I need to setup filter expression per collection mapping rule how to do in java? say collection mapping rule 1 has one filter expression, collection mapping rule 2 has some other filter expression and so on.
user2425109
  • 347
  • 1
  • 2
  • 10
1
vote
1 answer

Couchbase XDCR Advance filtering- How to configure dynamic date range in filter expression

Is there any possible mechanism by which we can configure XDCR filter expression with dynamic date range in couchbase? example can be like configuring filter expression for replicating entities older than year. DATE_DIFF_STR(NOW_STR(),…
user2425109
  • 347
  • 1
  • 2
  • 10
1
vote
2 answers

Couchbase xdcr regex - How do I exclude keys using regex?

I am trying to exclude certain documents from being transported to ES using XDCR. I have the following regex that filters ABCD and IJ https://regex101.com/r/gI6sN8/11 Now, I want to use this regex in the XDCR filtering ^(?!.(ABCD|IJ)).$ How do I…
Bick
  • 17,833
  • 52
  • 146
  • 251
1
vote
0 answers

Couchbase XDCR keep logging "not_my_vbucket" in ns_server.debug.log

I am testing Couchbase 3.1's XDCR feature and keep got the error message as described below: environment 6 vm for cluster1 6 vm for cluster2 uni-directional XDCR from cluster1 to cluster2. There are about 900 MB testing data in both two…
nntp
  • 43
  • 1
  • 5
1
2