Couchbase Questions: C SDK

Have a Question? Get it answered by our community

pharvener@yahoo.com's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 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 5 months 4 days ago
Latest activity 5 months 4 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 5 months 1 week ago
Latest activity 5 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: libcouchbase.so.2.0.12
platform : CentOS release 6.2 (...

agstudy's picture
Asked 5 months 1 week ago
Latest activity 4 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 5 months 2 weeks ago
Latest activity 5 months 2 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: http://www.couchbase.com/autodocs/couchbase-c-client-2.1.3/...

d3fault's picture
Asked 6 months 3 days ago
Latest activity 6 months 15 hours 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 7 months 1 week ago
Latest activity 7 months 1 week 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...

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

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

I've found code below,

-------------------------------------------------
Query query = new Query();
query.setIncludeDocs(true)
-------------------------------------------------

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

xuyuehui's picture
Asked 7 months 3 weeks ago
Latest activity 7 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...

chaseChoi's picture
Asked 8 months 2 days ago
Latest activity 7 months 4 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
create_options.v.v0.host = "localhost:8091";

2> to remote 'default' bucket ==> OK
create_options.v.v0.host = "remove Ip:8091";
...

Pages