Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
dhops's picture
Asked 2 weeks 6 days ago

Replication Fails with auto-failover?

couchbase server 2.2, java 1.4 client.

I have a 3 node cluster, and my test bucket has replication.ONE. I kill one of those, and call:
client.set(key,json, ReplicateTo.ONE);

This will fail ~%50 of the time with the following error:
Currently, there is no replica node...

dhops's picture
Asked 2 weeks 6 days ago

getView() fails if 1 node is offline?

(sing couchbase 2.2, java sdk 1.4.)

Hi all, I have 3 node cluster, a bucket with replication ONE.

When I startup my CouchbaseClient(), it is able to start with the one node offline.
however the first thing I do after that is getView()..it spins for a bit.then finally throws...

dhops's picture
Asked 2 weeks 6 days ago

couchbase shutdown/startup/status? (cli)

I've been trying to figure out how to start/stop couchbase server (2.2) properly usingthe commandline (linux)...any pointers? (I'm not seeing anything in the cli docs for this).

I've tried killing the processes (-4), which works..but then I can never get server started again (using bin/...

witbrock's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 6 days ago

Maven Dependency with Netbeans 8 doesn't construct correct run classpath

I'm trying the HelloWorld file, and it fails to run
because
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jettison/json/JSONException

Looking at the IDE's classpath for the HelloWorld class and comparing it with the explicit path in the tutorial, I...

cjjohansen's picture
Asked 2 weeks 6 days ago

Getting Single document by Unique value

Hi

Whats the best approach for querying a single entity by a unique value which is not the Key?

var view = client.GetView("useraccount", "by_email").StartKey(theEmail).EndKey(theEmail).Limit(1
...
cjjohansen's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 5 days ago

.NET SDK 1.3 Extensions is it possible to configure JSON Serializer

Hi

the MVC Tutorial suggests using the client.GetJson and client.StoreJson extension methods.

I Need to serialize POCO's with protected setters in order to maintain incapsulation.
I Have written a ContractResolver based on CamelCasePropertyNamesContractResolver. Which does...

danomano's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 6 days ago

couchbase reads? (from master vs server)

Lets say we have 1 cluster with 4 nodes, 2 nodes in US, and 2 nodes in the Europe.

we have replication for the bucket set to 2 (so this means 3 nodes will have the same document, after replication).

My question is..

When a read request comes into the cluster, will it:
...

jatin's picture
Asked 3 weeks 15 hours ago

Why Couchbase Erlang Service In 32 bit ?

Hi,

we are using couchbase server 2.2 with windows 2012 OS - 64 bit.
I can see now that memcache process (memcached.exe) is running under 64 bit installation but Erlang process (erl.exe) is running 32 bit and i am not getting why it is running under 32 bit.

Would it not...

mark.ward's picture
Asked 3 weeks 1 day ago
Latest activity 3 weeks 17 hours ago

N1QL and Python SDK

Is there a plan and timeframe for integrating N1QL within the Python SDK? I'm new to Couchbase and evaluating it as the backend for Celery task results. While it's be extremely easy to setup and use for this purpose, I'm encountering some friction and drag now that we're needing to extract and...

yli119's picture
Asked 3 weeks 1 day ago
Latest activity 3 weeks 1 day ago

Client discounts under "Idle", never able to reconnect

We found a bug in the library when the client discounts under "idle" for more than half an hour, and it’s easy to reproduce:

  • Create a client for the couchbase client library (version 1.3.3.0), used to read document only, let’s called it ROC, read only client;
  • Insert a
  • ...

Pages