Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

sbarlow's picture
Asked 5 months 2 weeks ago

Issue with Paginator

Sorry, this is a rushed description but:

If a view is created with default options that exclude a "limit", and the view subsequently invokes firstPage() with the "limit" specified as a query parameter, then the returned paginator fails when calling next().

It seems that it's making...

teriyaki's picture
Asked 5 months 3 weeks ago

Is accessing memcached bucket slower than direct memory array read/write?

I have a nodejs project needs to store/read temporary data.
Somebody suggest me use memcached bucket.
As I know couchbase server always separate from application server.
Just wonder if memcached bucket is in another physical server, nodejs app access memcached bucket via...

jasonfill's picture
Asked 5 months 3 weeks ago

Getting Most Updated/Reliable Data Back From A View

I am looking for best practices for getting updated and reliable data back from a view. I have read a bit about the stale parameter and I understand that sending stale=false will force a reindex prior to returning the results - however it is clear there is a performance hit for this. (...

team.avesta's picture
Asked 5 months 3 weeks ago

GetMulti returns null

I am using couchbase version 2.2.0 community edition and couchbase nodejs client lib version 1.2.1

I have created a view that returns all the documents of type 'Brand'

Here is my view code :

...
pithu's picture
Asked 5 months 4 weeks ago

node process do not exit until connection shutdown

Hi Couchbase,

running the following code with node.js never exits.

var Couchbase = require('couchbase');
var connection = new Couchbase.Connection({bucket: "default"}, function(err){
//
...
a4xrbj1's picture
Asked 5 months 4 weeks ago
Latest activity 5 months 2 weeks ago

Key exists error while using ADD (via node.js)

Hi guys,

posted my question already on Stackoverflow.com (http://stackoverflow.com/questions/22611021/key-exists-error-while-using...) but to no avail. Hopefully some expert here can...

mxav@yahoo.com's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

[couchnode] How does couchnode handle unavailability from one or some nodes of the couchbase cluster

Hello,

We are using couchnode for a couple of months now and we really like it, but we have experienced an issue a couple of days ago while adding a new node to an existing couchbase cluster and we would like to understand better the way couchnode handles unavailability from one or some...

saransh2012's picture
Asked 7 months 1 week ago
Latest activity 6 months 3 weeks 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....

christoph's picture
Asked 8 months 1 week ago
Latest activity 8 months 2 days ago

Connection to multiple nodes

Hi,

I tried the following code;

var db = new couchbase.Connection({
host: ["<host1>:8091","<host2>:8091"]
bucket:'default',
}

Now, if I shut down host1, than I get a connection. If I shut down host2, than the...

christoph's picture
Asked 8 months 1 week ago

Connection to multiple nodes

Hi,

I tried the following code;

var db = new couchbase.Connection({
host: [":8091",":8091"]
bucket:'default',
}

Now, if I shut down host1, than I get a connection. If I shut down host2, than the connection fails.

BTW: The following works:...

Pages