Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
juan-rs's picture
Asked 5 months 1 week ago

$persist_to and $replicate_to

We're replacing our memcached client with the couchbase php client.

We are currently using moxi (locally on each web server).

The $persist_to and $replicate_to parameters on some of the methods default to 0 and I am trying to find out what the default moxi behaviour is for this. I...

Tokenizer's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

CouchBase architecture (CAP theorem)

I have a problem with the CAP concept , lot of people seems to say that couchbase is CP in the brewer theorem but why? At my opinion it might be PA but maybe i'm wrong, so what are you thinking about?

oberon's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 week ago

Sync Gateway User Access

Hello,

I have created users through the Sync Gateway.

The user documents contain ID ( _sync : user : name ), name, password, roles and user's channels.

I am trying to send data and do a pull replication from an Android device with an app using Couchbase Lite...

fredlaub's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 week ago

dateToArray(date) milliseconds

Hi,

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:
...

bmhardy's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

couchbase and sync using ssl

Hello,

I have sync_gateway and couchbase running on amazon AWS. How can I get set up to use SSL with couchbase and sync_gateway? I'm currently running couchbase on port 8091 and gateway on 4984.

I read here (...

amitg's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

Elasticsearch slowing down Couchbase set operations (inserts)?

Hello, we are experimenting with Couchbase and ElasticSearch.
I know this may sound strange but when we run them both (on the same machine) we get much slower response times from Couchbase set operations.
If we take down the ElasticSearch process (leaving the XDCR replication as it...

juan.musacchio's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

Bug in ClusterManager class?

Hi

I've been experiencing some connection issues ("Unable to connecto to cluster") while listing the couchbase buckets. After some debugging I realized that could be a race condition in the ClusterManager sendRequest method. The following are the involved lines (took it from master branch...

saransh2012's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 day ago

How is buffer stored?

I am trying to use crypt module of node.js to encrypt the password of the user. The function return me a buffer which I store in couchbase. I want to know how does the node SDK of couchbase store the buffers? When I am trying to verify if the passwords are correct or not, it doesn't match....

oberon's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

Couchbase Lite and Oauth

Hello,

I'm testing with Couchbase Lite (Android) and Sync Gateway. I'm trying Oauth authentication, but I'm not able to.

Is there any example that can take a look?

Thank you very much.

jarod's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 week ago

How to query Couchbase using GetView StartKey and stringKey contains "&"

Im having problems querying Couchbase when the Startkey or EndKey contains "&" or "'".
Im using .Net SDK 1.3.0

protected IView GetView(string name,
string startKey, string endKey,...

Pages