Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

cadams's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

CAS with non-existent key giving OK vs NOT_FOUND

If I submit a cas with a non-existent key I would expect to receive CASResponse.NOT_FOUND but am receiving CASResponse.OK instead. Is this a bug? The use case is a test we created for a cas operation on either a non-existent key or a key that has expired from the cache.

Couchbase Java...

vakoroteev's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

Reconnection of client after node wake up.

I'm studying the following scenario: while get/set operations to Couchbase I shutting down node(power off on virtual machine). After that, I power on the machine and waiting for Couchbase node recovery. When node's status changing to "healthy" I expect that client reconnect and get/set...

dharrigan's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Pattern Match Complex Key

Hi,

Say I have a map function thus:

function (doc, meta) {
   emit([doc.username,doc.createdDateTime]);
}

which produces keys in the format of:

...
darksun's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

MapReduce questions

I'am new to MapReduce, using the Java 1.1.9 SDK

 
View view = client.getView
...
dharrigan's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Couchbase Java SDK 1.2?

Hello,

Does Couchbase Java Client 1.2.0 equate to the Java SDK? I see 1.1.9 on Maven, but not 1.2 which has been out since September 13...

-=david=-

indranil32's picture
Asked 7 months 4 days ago
Latest activity 7 months 2 days ago

Couchbase CouchbaseConnectionFactoryBuilder configuration for sites with concurrent traffic of around 4000

We are using couchbase server 2.0.0 [Java SDK 1.1.8] for a Rest based web-service. We are supposed to support a benchmark of 4000 concurrent requests.

Right now we are testing with all async-operations for add/get and default ConnectionFactory. We are running into TImeout issues and...

cadams's picture
Asked 7 months 1 week ago
Latest activity 7 months 4 days ago

Couchbase and JSR-107

When I look at JSR-107 it seems apparent that the spec was designed for read-through / write-through caches and that the Cache API itself does not support ttl/expiry at the operation level which is a fundamental aspect of Couchbase operations, but I would like to understand Couchbase's specific...

Sandeep's picture
Asked 7 months 1 week ago
Latest activity 5 months 2 weeks ago

Connectivity issue to remote Couchbase Server 2.0.1

We installed Couchbase Server 2.0.1 on our server. We configured it in Cluster and have one bucket.

End user is located in another country and we have opened firewall for them and IPs are Nated.
ie. if our Couchbase server is installed on 10.35.16.6 and 10.35.16.6, Nated IP is 10.17...

vakoroteev's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

How to get information about cluster's node status?

I want to get information about node status using Java API. But I only found method getAvailableServers() in CouchbaseClient class. It's not quite what I need because this method considers the node available if its...

seans's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Is getBulk consistent during a rebalance?

Hi,

I've recently noticed that, when using the getBulk call on the CouchbaseClient instance during a rebalance of the cluster, that the values for some of the requested keys are not returned even though a key definitely. In my Couchbase client wrapper, I've augmented the call to getBulk...

Pages