Most Votes

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
sovente's picture
Asked 2 months 3 weeks ago

Document Versioning

Is it planned to integrate document versioning in Couchbase in the future?
For example you could get the list of all versions of a document and choose which of them retrieve, e.g. get(docKey, docVer) ?

Thank you
Matteo Spampani

babakita's picture
Asked 2 months 2 weeks ago
Latest activity 2 months 2 weeks ago

Crash on couchbase-server 2.2 start

I have installed couchbase-server-2.2 on rhel 6.4 system and I get the following error while starting couchbase-server as a deamon:

> daemon "/bin/su -s /bin/sh -c \"/opt/couchbase/bin/couchbase-server -- -noinput -detached\" couchbase"


jakjak's picture
Asked 2 months 1 week ago

RestAPI pools/default not always returning otpNode

Is there a reason why the otpNode and otpCookie are not always sent in the response to a pools/default request? Is there another response that contains this for everynode? I need to initiate a manual failover and that rest request require the otpNode as the parameter.

fredlaub's picture
Asked 2 months 3 days ago
Latest activity 1 month 3 weeks ago

dateToArray(date) milliseconds


Using builtin functions instead of custom functions is better, as I read in the doc.

Now the builtin function dateToArray doesn't include the milliseconds, so what do you suggest if I want the milliseconds to be included in my view for sorting?

Example in doc:

ledude's picture
Asked 2 months 12 hours ago
Latest activity 1 month 3 weeks ago

XDCR failed for replication from 2.1.1 to 2.2.0

I'm trying to replicate my 2.1.1 cluster data bucket to different cluster with 2.2.0 that I setup for development. When I tried to XDCR the data, this is the constant error I got.

Error replicating vbucket 107: {badmatch, {error, all_nodes_failed, <<"Failed to grab remote bucket...

abreddy's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 3 weeks ago

retrieve items from cache


We are using couchbase in our application.First we need to check whether results exists in cache If so we have to retrieve from cache or else we should hit the database.

So How do I check whether results exist in cache.

Philipp87's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 2 weeks ago

Collated view with condition


could anybody explain me how to add a condition to a collated view, like a where-clause in SQL which compares the contents of columns in different tables?


we have documents named "movies", every movies document contains a name and a movie ID,...

yunji's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

Hadoop in sqoop error help!!

The following error has occurred
Help me !!!!!!

[root@Couchbase01 sqoop]# sqoop import --connect --table PMUdata
Warning: /usr/lib/hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.

bmhardy's picture
Asked 1 month 1 week ago
Latest activity 3 weeks 5 days ago

How does LiveQuery work


I'm trying to create a live query that is filtered using a startKey and endKey. I'd like to show data by day. The startKey is the start of a given day and the endKey is the end of of that day. I want the Android user to be able to change the selected day and see data for any...

skywizard's picture
Asked 1 month 5 days ago

Restore a single node Couchbase server from a cluster


I have a three node couchbase server running on a virtual machine. We are doing backup using snapshot on the three node. Is there a way to run just one node of the existing cluster, in another vm environment to get the data ?

Basically I want to get data from previous snapshot...