Announcement Announcement Module
Collapse
No announcement yet.
Redis increment under WATCH Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redis increment under WATCH

    I'm trying to increment a value after setting a watch on it, but I'm having trouble finding out how the transaction will fail.

    I'm calling WATCH and retrieving a value. Once I've tested the value, I call back to Redis with multi(), increment() and exec(). Neither the Javadoc nor the reference docs address how the transaction will fail, and I don't see a Response object available to me. I'd appreciate any insight.

    jason
Working...
X