Couchbase Questions: C SDK

Have a Question? Get it answered by our community

ravi_ch_k's picture
Asked 9 months 1 day ago
Latest activity 8 months 3 weeks ago

Accessing keyvalue from multiple threads

Dear Support,

My application (using C library) will have multiple threads and each thread will access same bucket (eg: bindCounter) and get the current bindCounter(key value) and then update bindCounter++ (key value). There are some chances to access multiple thread at same time to get...

xuyuehui's picture
Asked 9 months 3 days ago
Latest activity 9 months 10 hours ago

libcouchbase (v2.2, windows 32 bit, c) crash on set command

Firstly, I am so poor in English. Maybe you can read this message so hardly, I am sorry and thank for your time.
I am developing a server base couchbase server in windows use c++ language. In my app server, i create 5 work thread to process message. there have a...

jim.yefeng's picture
Asked 9 months 3 weeks ago
Latest activity 9 months 1 week ago

libcouchbase 2.2.0 coredown with signal 6

Program terminated with signal 6, Aborted.
#0 0x00000036b66328e5 in raise () from /lib64/
Missing separate debuginfos, use: debuginfo-install boost-filesystem-1.41.0-17.el6_4.x86_64 boost-system-1.41.0-17.el6_4.x86_64 boost-thread-1.41.0-17.el6_4.x86_64 bzip2-libs-1.0.5-7....

Sanjay1313's picture
Asked 10 months 2 days ago
Latest activity 10 months 2 days ago

libcouchbase crash when I restart couchbase-server during inserts

I installed and configured 2 couchbase(community edition) nodes in a cluster.
I Connected to the cluster with the client and started inserting elements.
I Couchbase client is running in the same machine where 1st couchbase-server node running.
When i restart the 1st...

davismwfl's picture
Asked 10 months 5 days ago
Latest activity 10 months 4 hours ago

Using libcouchbase from C how to force JSON doctype

I found this post:

But it didn't solve my issue. I have many documents that are formatted as so:
{ "suffix": [ 1133,...

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

Reading the expiraration time of counters

I'm using Libcouchbase in C 2.0.7, I access counters from multiple processes and threads. We need to count the number of specific operations over different time periods. We use an expiration time on the counter to do that. Later we pull out the value. However we found some times we managed to...

oyster's picture
Asked 11 months 1 week ago
Latest activity 10 months 3 weeks ago

couchbase timeout prematurally

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

RALPH's picture
Asked 11 months 3 weeks ago
Latest activity 11 months 4 days ago

How should I use dll in Third party ?

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

penacho's picture
Asked 11 months 3 weeks ago
Latest activity 11 months 2 weeks ago

libcouchbase client crashes when stopping server

We are experiencing crashes of the libcouchbase C client on a dual node cluster when one of the couchbase servers is stopped while the application accesses the bucket(s). Our application uses get-locked operations, which are not handled by the client when handling network- or timeout errors. See...

Damian's picture
Asked 11 months 3 weeks ago
Latest activity 11 months 3 weeks ago

build couchview on Linux

How do I build libcouchbase/example/yajl/couchview on Linux?
The other examples builds from the git clone.

I build yajl from its git clone.

I am using Fedora 18.