I keep getting the timeout exception when executing a n1ql query.
The exception is usually thrown if I have 7 or more documents returned in the response.
If I restart the n1ql service on each node, the problem is solved, but after a few more queries, the exception is thrown again.
I am using dp4 and java client 2.1.1.
This is my environment configuration:
couchbaseEnvironment = DefaultCouchbaseEnvironment.builder() .viewTimeout(5000) .queryTimeout(5000) .computationPoolSize(4) .keepAliveInterval(0L) .queryEnabled(true).build(); cluster = CouchbaseCluster.create(couchbaseEnvironment, cbNodesNames); bucket = cluster.openBucket(bucketName, bucketPwd, 5000, TimeUnit.MILLISECONDS);