BlockingRedisDataSourceImpl
doesn't call DISCARD if consumer function throws an exception
#49436
-
In Pseudo
Looking at Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @Ladicek (redis), @cescoffier (redis), @machi1990 (redis) |
Beta Was this translation helpful? Give feedback.
-
This seems sensible. It turns out that out of 3 I don't know if there's a difference between these methods, but I don't think so, at least when it comes to which of them should/shouldn't automatically send |
Beta Was this translation helpful? Give feedback.
This seems sensible. It turns out that out of 3
withTransaction()
methods inReactiveRedisDataSourceImpl
, only 2 of them automatically sendDISCARD
.BlockingRedisDataSourceImpl
doesn't sendDISCARD
in either of the 3withTransaction()
methods.I don't know if there's a difference between these methods, but I don't think so, at least when it comes to which of them should/shouldn't automatically send
DISCARD
. They should be consistent in this regard.