Polled Unsuccessfully for ReplicateTo.ONE
I am evaluating Couchbase as a caching layer for our web. and I just deploy couchbase at Two Centos 6.1 with iptabes off and selinux off
I tried to run the Sample "beer-sample" with JavaSDK 1.1.2 on JDK 1.7. It is good when I run it directly. But once I updated to
1. using a random integer as the ID instead of the beer-sample AND
2. apply ReplicateTo.ONE instead of default ReplicateTO.ZERO
SourceCode as following
KEY = String.valueOf(_ran.nextInt(10000));
OperationFuture setOp = client.set(KEY, EXP_TIME, VALUE, ReplicateTo.ONE);
It printed out the error for polling for some of the ID, not all. Some of set operation is done successfully
"Set failed: Observe Timeout - Polled Unsuccessfully for at least 40 seconds."
My questions are:
1. What is happening? why does this error prompt up?
2. How to resolve it?
3. and the performance is extremely poor for ReplicateTo turn on. How to resolve it if it is required?
Thanks a lot,