0

I start redis transaction on linux.

127.0.0.1:6379> MULTI
OK
127.0.0.1:6379> set n0 abc123
QUEUED
127.0.0.1:6379> rpop n0
QUEUED
127.0.0.1:6379> exec
OK
WRONGTYPE Operation against a key holding the wrong kind of value

127.0.0.1:6379> get n0
abc123.

I start redis transaction on linux. I create a bug. But I found that the transaction is not rolled back.

sssr
  • 364
  • 1
  • 6

0 Answers0