Hello,
when our Java application gets disconnected from Couchbase (e.g. because of the network failure) then for some period of time (usually around 7 minutes) every query fails on the java.util.concurrent.TimeoutException (timeout_log.zip (747 Bytes)).
After that stretch of time or after the restart of the application everything seems to be working fine.
Couchbase Server: community-6.0.0
Couchbase Java SDK: 2.7.2
Couchbase env configuration:
final CouchbaseEnvironment environment = DefaultCouchbaseEnvironment.builder()
.connectTimeout(TimeUnit.SECONDS.toMillis(60))
.socketConnectTimeout((int) TimeUnit.SECONDS.toMillis(45))
.queryTimeout(TimeUnit.SECONDS.toMillis(20))
.autoreleaseAfter(TimeUnit.SECONDS.toMillis(10))
.build();
Thanks for help,
Darek