Couchbase Questions: C SDK

Have a Question? Get it answered by our community

xuyuehui's picture
Asked 3 months 1 week ago
Latest activity 3 months 2 days 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 2 weeks ago
Latest activity 3 months 1 week 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";
...

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

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

Hi,
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 2 weeks ago
Latest activity 4 months 3 days ago

libcouchbase 2.2.0 coredown with signal 6

Program terminated with signal 6, Aborted.
#0 0x00000036b66328e5 in raise () from /lib64/libc.so.6
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 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

libcouchbase crash when I restart couchbase-server during inserts

Hi
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 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

Using libcouchbase from C how to force JSON doctype

I found this post: http://www.couchbase.com/forums/thread/question-regarding-c-client-library

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

fitz's picture
Asked 5 months 6 days ago
Latest activity 4 months 4 weeks 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 5 months 3 weeks ago
Latest activity 5 months 1 week ago

couchbase timeout prematurally

Hi,
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 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

How should I use dll in Third party ?

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

Pages