Couchbase Questions: C SDK

Have a Question? Get it answered by our community

gzz's picture
Asked 5 months 3 weeks ago
Latest activity 5 months 4 days ago

Memory leak in libcouchbase 2.2.0 / lcb_make_http_request ?

I've been testing libcouchbase, in particular I used lcb_make_http_request() in order to query a view. I noticed my test program started eating memory a lot, so I tried to identify the reason.

I've been able to reproduce this behavior with the couchview example.

I used:...'s picture
Asked 5 months 4 weeks ago
Latest activity 5 months 4 weeks ago

Does the native "C" libs/SDKs run on xeon processors?

Is there any special build for libcouchbase for xeon processors?

bretlevy's picture
Asked 6 months 1 week ago
Latest activity 6 months 6 days ago

Can't connect to couchbase via C SDK...

Sorry guys, I am at Day 1 using this platform, and I can't seem to get by the first basic steps! lcb_connect is calling the error handler with "Could not connect to server within allotted time". Below is the code. I get LCB_SUCCESS as the immediate return from the connect call...

yanzhenhua's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

why "lcb_flush" function return an error "Not supported"?

use "lcb_flush" to remove all data of a Couchbase bucket , return an error "Not supported", but it goes well in a Memcached bucket .

can some one tell me why , or is there something should be set?

libcouchbase version:
platform : CentOS release 6.2 (...

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

R SDK client?

Hi all,

First of all thanks for this fantastic work.
I am planning to create a new couchbase SDK client for the R language. The idea is to use a wrapper around the C library libcouchbase.

I am confused with some notions especially the callback. Here my pseudo code with some...

whl0630's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

What is the "exptime" unit in "lcb_store_cmd_t"? Seconds, Milliseconds or others?

I want to confirm the "exptime" unit in "lcb_store_cmd_t".

I can NOT get the definite unit information from lcb_store api html(here:

d3fault's picture
Asked 7 months 6 days ago
Latest activity 7 months 3 days ago

The role of CAS in a durability poll?

tl;dr: 2x CAS Stores in a row for same key, durability polling replication for both, will the first one _always_ succeed?

I recall reading somewhere in the docs that multiple successive writes to a single key won't cause each one to be persisted to disk. This optimization makes sense...

sturdyworks's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Ubuntu server dpkg -l *couch* can't see packages in couchbase.list

With Ubuntu desktop (ubuntu-12.10-desktop-amd64.iso) I can download deb file package list and key:

sudo wget -O/etc/apt/sources.list.d/couchbase.list

chaseChoi's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 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 9 months 11 hours ago
Latest activity 8 months 2 weeks 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...