We are using Java SDK 2.3.3 and we found that the upsert is failing without any exceptions. We are using couchbase server 4.1 and storing LegacyDocuments. Below is the code snippet for storing documnets.
/* Upsert Code*/
LegacyDocument document = LegacyDocument.create(key, ttl, value);
couchManager.getDataBucket(requestType).async().upsert(document); //This gives an AsyncBucket and does an upsert operation.
/* Environment Configuration*
couchbaseEnvironment = DefaultCouchbaseEnvironment.builder()
.keepAliveInterval(keepAliveInterval * 1000)
Please let me know if we are doing anything wrong? As this was running successfully on SDK version 2.1.2