Couchbase Q&A

Have a Question? Get it answered by our community

dgriffin's picture
Asked 3 weeks 9 hours ago
Latest activity 3 weeks 8 hours ago

Limiting Initial pull

Hey guys,

We are using Sync Gateway channels as users to save user specific data.

Lets say user have data for 1 year, all the documents have "date_created" field.

On the reinstall/fresh install, How do I make pull request for last 3 months data?

I know we can create...

casmeiron's picture
Asked 3 weeks 11 hours ago

QueryView TypeError Problem


We've trying the new couchbase nodejs client (2.0.0) but we cannot use queryview.

In bucket.js, line 591 we have the follow:

if (query instanceof ViewQuery.Default) {

It's failing, saying query isn't of type ViewQuery.Default.

TypeError: First argument...

Bas Vijfwinkel's picture
Asked 3 weeks 17 hours ago
Latest activity 1 week 13 hours ago

Couchbase with Wamp server

I don't know where to post it but I hope this saves somebody the trouble of figuring on his own:
Just woudl like to add some indications to get Wamp working with Couchbase.

The couchbase php client for windows fails silently without any indication what might be wrong when trying to...

Nick Padilla's picture
Asked 3 weeks 22 hours ago
Latest activity 2 weeks 1 day ago

How to secure individual documents

Hello All!

I am trying to figure out if there is a way to secure individual documents. Preferably there would be a pre-accept hook that would allow checking if the current user has access to the requested document(s). In a standard web application you may want to have object level...

clc_drew's picture
Asked 3 weeks 1 day ago

How to get a list of the XDCR replications?

I'm trying to get a list of the XDCR replications for a given remote cluster, so I can check whether a bucket has replication set up for ElasticSearch, via HTTP. I thought I'd be able to get that by going to the remote cluster URI returned from `GET /pools/default/remoteClusters` (...

shivshankar.dayal's picture
Asked 3 weeks 1 day ago
Latest activity 2 weeks 1 day ago

How to run couchbase web console under https?


I have searched it on google but found nothing as to how to run couchbase web console under https?


leogz's picture
Asked 3 weeks 1 day ago
Latest activity 2 weeks 1 day ago


have any way to update part of document in couchbase with PHP?

_id: 199
"STATUS": 1,
"FLAG": 2,
"LOCK": 1

Need update only (suposed) "field" LOCK .

Something like:

leogz's picture
Asked 3 weeks 1 day ago

PHP DP2 Compilation Error

I try to compile DP2 PHP extension on my system and got error:

couchbase/cluster.c -fPIC -DPIC -o .libs/cluster.o
/GITS/php-couchbase/cluster.c: In function 'zim_Cluster___construct':
//GITS/php-couchbase/cluster.c:119:24: error: 'struct lcb_create_st3' has no member named '...

Sanjay1313's picture
Asked 3 weeks 1 day ago

Its taking more than 1 min for Couchbase node to detect Peer couchbase node is down!


There are 2 nodes in a cluster.
1)Shutdown Node1
2)Node2 is taking more than 1 min to detect that Node1 is down and mark it unhealthy

Is there any parameter which we can set to reduce the time to detect failure.?

Note: This is only in case of a shutdown/...

sunchen's picture
Asked 3 weeks 3 days ago

Exception when using scala to call java sdk,and run with Spark

I write some very simple Scala codes followed,these codes make a Spark job,and write something into Couchbase. But when I run this job on Spark,I got an exception.I am wondeing how this happend.
Something must be pointed, if I don't use Spark , the code can work.