Description
The following configuration will always result in the in-memory configuration having UseEnhancedDurability = false:
<couchbase enableConfigHeartBeat="false"> |
<servers> |
<add uri="http://localhost:8091"></add> |
</servers> |
<buckets> |
<add name="beer-sample" useEnhancedDurability="true"></add> |
</buckets> |
</couchbase> |
If you include a connectcionPool section within the bucket, then the setting will apply:
<couchbase enableConfigHeartBeat="false"> |
<servers> |
<add uri="http://localhost:8091"></add> |
</servers> |
<buckets> |
<add name="beer-sample" useEnhancedDurability="true"> |
<connectionPool name="default" /> |
</add> |
</buckets> |
</couchbase> |
The reason is that without a connectionPool section, the default connectionPool is used instead. This connectionPool always has UseEnhancedDurability = false. This overrides the previously loaded value of true for the bucket.
Attachments
Issue Links
- relates to
-
NCBC-1136 Regression - MutationToken are not set when UseEnhancedDurabity is true
- Resolved