Closed
Description
Shu Yu opened DATAKV-115 and commented
I am using Spring data key value for a web application. Calls to a repository's findByXXX
fail randomly, causing an exception.
I have attached the test case that can reproduce the problem.
I think that KeyValuePartTreeQuery
is reusing a SpelExpression
object, causing failing in SpelQueryEngine.filterMatchingRange()
because the expression evaluation context in one thread can be changed by another thread
Affects: 1.0 GA (Gosling)
Attachments:
- mavenProject.ZIP (3.36 kB)
Referenced from: pull request #16