Skip to content

Set default consistency at project level, per profile #1243

Closed
@JesusTheHun

Description

@JesusTheHun

According to the documentation, the default consistency level for Repositories is NOT_BOUNDED ( https://docs.spring.io/spring-data/couchbase/docs/current/reference/html/#couchbase.repository.consistency ).
This is fine for some environment, but not for others. Typically during tests, most of them fail because they try to read their own writes, and it fails.
With a previous version of Spring Data Couchbase based on SDK 2.x we could extend getDefaultConsistency() from AbstractCouchbaseConfiguration. This method is now gone and as we are migrating, it breaks our app. No green tests, no delivery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions