Couchbase Q&A

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

Node.js SDK 'undefined symbol' error from couchbase_impl.node

Hello,

I have successfully installed Couchbase Node.j SDK on linux. I got the following error when I tried to connect to a bucket.

$ node test.js
$/home/user1/node_modules/couchbase/build/Release/couchbase_impl.node: undefined symbol:...

mtrivedi's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

Map reduce - need to use sha1 javascript function

Hi,

While writing Map Reduce in Couchbase, I have encountered an issue that while emitting key,value from MAP function has very long key and hence i want to convert the key to unique hash using SHA1 function. I do know that couchbase internally uses sha1 JS libraries but somehow I am not...

edibusl's picture
Asked 6 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Problem when connecting to multiple nodes from PHP

Hello,

I try to connect to a couchbase cluster with this way:
$cb = new Couchbase(array("ip-20-296-110-131.ec2.internal:8091","ip-20-254-129-133.ec2.internal:8091"), COUCHBASE_USER, COUCHBASE_PASS, COUCHBASE_VIEWS_BUCKET);

When the first node in the array is down, there isn't...

vakoroteev's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

Reconnection of client after node wake up.

I'm studying the following scenario: while get/set operations to Couchbase I shutting down node(power off on virtual machine). After that, I power on the machine and waiting for Couchbase node recovery. When node's status changing to "healthy" I expect that client reconnect and get/set...

saniadeyi's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

what is the maximum number of concurrent access to Cauchbase?

what is the maximum number of concurrent access to NoSQL(e.g Cauchbase) databases?
Give example of NoSQL DB in practical use today with reference
who provide hosting service for NoSQL apps?

ledude's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

Can't connect to couchbase via php.

Hi all.

I have this strange issue that I'm banging my heads off. It works on dev machine but when I moved it to prod machine, I got this error:

FastCGI-stderr: PHP Fatal error: Uncaught exception 'CouchbaseLibcouchbaseException' with message 'Failed to create libcouchbase...

qingdou's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

.NET SDK client.GetView("str1", "str2") return no result

Hello,

I use client.GetView() to view the data. However, GetView() doesn't return any result.

This is my code:
var view = client.GetView("beer", "by_name").Stale(StaleMode.False);

Any suggestions?

Thanks.

RALPH's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

How should I use dll in Third party ?

Hi,
To use Couchbase dll, I just have to import it in My project.(I am using something else than C)
In that case have the possibility of using a classe

Lets take the case of delphi, how should define Options for lcb_create, Instance. The structure I find in the code does not...

couchbase-user's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

Distributing a bucket over multiple servers, and creating a view on it.

Hey,

I'm wondering whether it's possible to distribute a bucket over multiple servers, and in case it's possible would this affect the way the view on that bucket is created and queried ?

Many thanks,

Nadine's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

Creating a user in couchGatewayConfig.json

Hi,

I tried adding a user via the couchGatewayConfig.json - file like this:

{
 	"interface":":4984",
   "adminInterface":":4985",
	"log": ["CRUD", "REST+"],
	"databases": {
		"dict-demo
...

Pages