Couchbase Questions: C SDK

Have a Question? Get it answered by our community

chaseChoi's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

what's the syntax matched for "setIncludeDocs=true" in C Library ?

I've found code below,

Query query = new Query();

I'm using C Library.
but I can't find the syntax that matched for "setIncludeDocs...

xuyuehui's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 1 week ago

Crash Again

stack like this:
libcouchbase_debug.dll!ringbuffer_ensure_capacity(ringbuffer_st * buffer, unsigned long size) 行 62 C
libcouchbase_debug.dll!lcb_server_buffer_start_packet(lcb_server_st * c, const void * command_cookie, ringbuffer_st * buff, ringbuffer_st * buff_cookie, const...

chaseChoi's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

connection to remote bucket named not 'default' in C Library

dear support~ ^^

I'm using C Library for couchbase server.

1> to local 'default bucket' or 'named bucket' ==> OK = "localhost:8091";

2> to remote 'default' bucket ==> OK = "remove Ip:8091";

ravi_ch_k's picture
Asked 3 months 4 weeks ago
Latest activity 3 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 4 months 1 day ago
Latest activity 3 months 4 weeks 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 4 months 3 weeks ago
Latest activity 4 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 5 months 6 hours ago
Latest activity 5 months 4 hours 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 5 months 2 days ago
Latest activity 4 months 3 weeks 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 5 months 2 weeks ago
Latest activity 5 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 6 months 5 days ago
Latest activity 5 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 (...