couchbase timeout exception using Spring Data
<ul>
<li><p>spring-data-couchbase 2.0.0.RELEASE</p></li>
<li><p>4.0.0-4047 Community Edition (build-4047)</p></li>
</ul>

<p>At times I face connection timeout exception being thrown </p>

<pre><code>Caused by: com.couchbase.client.deps.io.netty.channel.ConnectTimeoutException: connection timed out
</code></pre>

<p>I am using following environment configuration </p>

<pre><code>@Override
protected CouchbaseEnvironment getEnvironment() {
    return DefaultCouchbaseEnvironment.builder()
            .connectTimeout(TimeUnit.SECONDS.toMillis(100))
            .computationPoolSize(6).autoreleaseAfter(9000).build();
}
</code></pre>

<p>my databuckets are auto wired in my services and I in one particular use case, I update a few documents across two data bucket. In case of connection being a bit iffy I get this exception and I am left with corrupt data of not all docs getting updated. Is there any connection retry mechanism which I can use if in case of connection failure?</p>