You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(this is a follow-up of our conversation with Mark Paluch).
Problem:
Some methods of RedisTemplate are not thread-safe:
A thread can get a null from the opsFor* methods (that create an instance of *Operations lazily)
A thread can fail with a NullPointerException when working with a not null instance returned from the opsFor* methods
I attached everything I had disclosed to Mark initially.
The archive contains tests to reproduce the issue, the original patch to fix it and elaborate explanation behind changes.
Mark suggested a little bit different solution to the problem.
I will send a pull request with the patch shortly.
(the original explanation is not inlined here because it is not applicable to the actual changes anymore)
cac03 opened DATAREDIS-1034 and commented
Hello,
(this is a follow-up of our conversation with Mark Paluch).
Problem:
Some methods of RedisTemplate are not thread-safe:
I attached everything I had disclosed to Mark initially.
The archive contains tests to reproduce the issue, the original patch to fix it and elaborate explanation behind changes.
Mark suggested a little bit different solution to the problem.
I will send a pull request with the patch shortly.
(the original explanation is not inlined here because it is not applicable to the actual changes anymore)
Affects: 2.1.10 (Lovelace SR10), 2.2 RC3 (Moore)
Attachments:
Referenced from: pull request #479
Backported to: 2.1.11 (Lovelace SR11)
The text was updated successfully, but these errors were encountered: