Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
sruthi's picture
Asked 10 months 1 week ago
Latest activity 7 months 2 weeks ago

Getting following TypeError: Cannot read property 'status' of undefined, for concurrent 2000 request

Hi,

I have a simple code to get value from couchbase view using nodejs sdk. it works fine for 1000 request(from apache jmeter). but when i try for 2000 request it fails and throw following error

/xxx/xxx/xxx/xxx/node_modules/couchbase/lib/http.js:15
if (error &&...

sunku's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

Hosted Couchbase service on EC2?

Hello.

I'm looking for hosted Couchbase service on EC2 such as MongoHQ for MongoDB. It seems not easy to find hosted services for Couchbase.

I just found the one service named CleverCloud. but this service seems in beta testing now. Is there any other service to suggest for me?...

hupantingxue's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

The key not existed in bucket whose ops is very high

My cluster has three buckets,and 8 nodes. In one bucket, one node has a strange phenomenon:
1. The ops of the key not exists in bucket is very high, and it up to 1.1k/s, see also in attach1.jpg;
2. Only...

mwkarl's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

View Map to return Key/Value pairs as Value

Is it possible to return Key/Value pairs in emit() using cb.query() in a similar way to the return value of cb.get() ?

cb.get() returns the complete object, however a cb.query() returns an indexed array as per the array ([ doc.x, doc.y , doc.z]) format of the emit() return value.

...

churchs's picture
Asked 10 months 1 week ago
Latest activity 9 months 5 days ago

Node.JS SDK access to Cluster from Amazon EC2

I am hoping that someone can assist with a connectivity issue I am having from an Amazon EC2 Ubuntu box with NodeJS SDK installed and trying to communicate with a Couchbase Cluster.

The facts are:-

Cluster - A 3 node cluster (version 2.2.0 enterprise edition (build-821) on an...

crigano's picture
Asked 10 months 1 week ago
Latest activity 8 months 3 weeks ago

can't start couchbase server 2.0.2 in non-root sudo

I an trying to install couchbase server 2.0.2 from http://www.couchbase.com/communities/python/getting-started

I have Linux mint 15.

I went to "Installing on Ubuntu as Non-Root, Non-Sudo"

I...

ielia's picture
Asked 10 months 1 week ago
Latest activity 9 months 2 weeks ago

CouchbaseConnectionFactory.updateStoredBaseList hard-coded administration port

Dear all,

I've noticed there is a "8091" hard-coded in CouchbaseConnectionFactory.updateStoredBaseList(Config). I have started a server on a remote host on port 10091 and I cannot make it work due to this piece of code:

...
oyster's picture
Asked 10 months 1 week ago
Latest activity 9 months 4 weeks ago

couchbase timeout prematurally

Hi,
I have two threads. The main thread receives requests through http service. For each request, a key in couchbase needs to be updated accordingly. The update operation is done in the second thread, which owns a couchbase client backed up by libev and drives the event loop manually (...

mwkarl's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

Append/Prepend to a nested attribute

The Couchbase Developer's Guide states:

Similarly, if you have JSON document with nested attributes, when you prepend and append, the new data will appear either before or after the entire JSON object, but not within the JSON object, nor any nested attributes in the JSON.

...
lenx.wei's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

a python sdk bug to query with a loooong key

Hi,

Sorry for posting it here, because currently the web site doesn't allow me to post it to the python client issues...

When I use python sdk 1.1.0 with couchbase 2.2.0 and execute
rows = ct.query('a', 'path', key='...

Pages