Couchbase Questions: C SDK

Have a Question? Get it answered by our community

Mody's picture
Asked 1 day 4 hours ago

Forbiden key using client 2.3.0 and server 1.8.1

While preparing migration of our SW from Couchbase server 1.81 to a newer version, I've encountered a strange error: "Failed to store the key on the server: Network failure"

After lots of debuging of our code, I've finally found that the problem is this key: "47-...

adonoho's picture
Asked 5 days 22 hours ago
Latest activity 3 days 22 hours ago

OS X Homebrew script for C-SDK points at a downlevel version ...

Gentlefolk,

The Homebrew script for the C SDK on OS X still points at libcouchbase-2.2.0.

astraeus:~ awd$ brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/
...
gzz's picture
Asked 1 week 5 days ago
Latest activity 1 week 2 days ago

Memory leak in libcouchbase 2.2.0 / lcb_make_http_request ?

Hi,
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:...

pharvener@yahoo.com's picture
Asked 2 weeks 13 hours ago
Latest activity 2 weeks 9 min 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 3 weeks 1 day ago
Latest activity 3 weeks 23 hours 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 3 weeks 5 days ago
Latest activity 3 weeks 4 days 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: libcouchbase.so.2.0.12
platform : CentOS release 6.2 (...

agstudy's picture
Asked 3 weeks 6 days ago
Latest activity 2 days 7 hours 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 1 month 1 week ago
Latest activity 1 month 6 days 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: http://www.couchbase.com/autodocs/couchbase-c-client-2.1.3/...

d3fault's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 2 weeks 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 3 months 8 hours ago
Latest activity 2 months 4 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 http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list...

Pages