nicolasff/phpredis — Issue #94: Question about using Redis::Multi() with persistent connection.
Author: chobie
Created: 2011-12-06 21:51:50+00:00
State: open

Hi Nicolas,

i have a question about using Redis::Multi() with persistent connection.
what is the best practice when use Redis::Multi() with persistent connection and it script was crushed by some reason (fatal error...etc).
as that case: next client uses same persistent connection so it has not execute multi command so next command returns `+QUEUE` response.

i met this issue on nicolasff/phpredis@b5ca9a32fd7c15d98d91f32e4a6ac04d648e1b28.

phpredis called discard command when php crushed in redis multi statement it would helpful i think.

Thanks,
Shuhei