@ScanConsistency ignored for n1ql queries [DATACOUCH-605] #913
Comments
blitzenzzz commented This bug is similar to https://jira.spring.io/browse/DATACOUCH-585, but not identical |
Michael Reiche commented I believe this is fixed with DATACOUCH-588, but this hasn't been merged yet. |
blitzenzzz commented I see the change to ExecutableFindByQueryOperationSupport. I think those five lines would fix it |
Michael Reiche commented This is the pull-request for the fix that was eventually merged - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
blitzenzzz opened DATACOUCH-605 and commented
A Repository shaped like this:
Will not attempt to look at the scan consistency annotation. It will also ignore it if you leave the annotation off and rely on the N1qlQueryCreator. See N1qlRepositoryQueryExecutor. The consistency will always be the default unbounded. The
@WithConsistency
annotation is also ignored.I found this while migrating from 3.x to 4.0.3 and executing unit tests that use "save" to persist an entity and then call something similar to "getBySecondaryId" on the following line.
Documentation reference - https://docs.spring.io/spring-data/couchbase/docs/current/reference/html/#couchbase.repository.consistency
Affects: 4.0.3 (Neumann SR3)
Backported to: 4.0.5 (Neumann SR5)
The text was updated successfully, but these errors were encountered: