News for hackers. Stuff that matters.
Re:Ways to shoot yourself in the foot with Redis by cbzoiav on Saturday July 29, 2023 @06:46PM (#36925587)
As the other guy says the lock is released by the server. If you don't have a mechanism to release it after a timeout, what happens if a node fails?
Re:Ways to shoot yourself in the foot with Redis by Salgat on Saturday July 29, 2023 @07:07PM (#36925754)
RedLock automatically releases a lock after a given timeout. The server can just release it early or refresh it also.
Re:Ways to shoot yourself in the foot with Redis by cbzoiav on Sunday July 30, 2023 @02:17AM (#36928395)
Yes, which is what I said.

But now you have a released lock and a client that thinks they have the lock.