Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
cjjohansen's picture
Asked 1 month 2 weeks 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 1 month 2 weeks ago
Latest activity 1 month 2 weeks 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 1 month 2 weeks ago
Latest activity 1 month 2 weeks 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 1 month 2 weeks 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 1 month 2 weeks ago
Latest activity 1 month 2 weeks 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 1 month 2 weeks ago
Latest activity 1 month 2 weeks 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
  • ...
ReplicaDawn's picture
Asked 1 month 2 weeks ago

3 Node cluster reporting extra nodes to clients

Just wondering if others have seen this before. I have a number of 3 node clusters in test/dev environments which have undergone a lot of configuration changes over the last month.
The issue I now see is that some of these clusters are now reporting extra server nodes to the clients. The...

knedle's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 1 week ago

getQueryById Android

Based on ToDoLite Android sample app I am trying to get query by ID working in my app.

Note that document is created with the same id as the content:
Document document = database.getDocument(userId);

...

ANdrei Nechifor's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

How can I guarantee that a view returns the last inserted value also

Steps:
1. Write a key/value using ExecuteStore command
2. I immediately try to get the last inserted value like this:
var view = _instance.GetView("all_docs", "all_docs");
view = view.Stale(StaleMode.False);
var documents = view.Select(GenerateCacheData);
...

David Miller jr's picture
Asked 1 month 2 weeks ago

Use of couchbase with ram file system

We're using couchbase with drupal as a more robust replacement for memcache. Couchbase version 2.2.0 running on debian wheezy servers.

We'd like to turn persistent storage off, but that's not an option with couchbase buckets, and couchbase buckets are required for redundancy.

The...

Pages