Closed GoogleCodeExporter closed 9 years ago
In my test, 2.2.0_RC4 has no this issue.
when use spop using multi command, the redis server 's memory will be consumed,
then crash because has not enough memory.
Original comment by xgmlove...@gmail.com
on 23 Feb 2011 at 7:10
Thanks, reproduced. This is caused by the fix for correctly replicating SPOP to
slaves and AOF. Will provide a fix shortly.
Original comment by pcnoordh...@gmail.com
on 23 Feb 2011 at 8:01
The following happened:
* SPOP was not correctly replicated (because it depends on the PRNG).
* This was fixed by morphing the argument list for SPOP to an SREM with the
popped element as argument.
* In EXEC it is assumed that the argument list is not modified --> conflict.
Pretty lame bug, as you can see ;-)
This is the patch:
https://github.com/pietern/redis/commit/61e254767591198d0cc191c043509d5b573cd526
https://github.com/pietern/redis/tree/2.2-spopmulti
Original comment by pcnoordh...@gmail.com
on 23 Feb 2011 at 8:43
hey thanks for fixing in little time, I'll merge today and ship 2.2.1
Salvatore
Original comment by anti...@gmail.com
on 23 Feb 2011 at 12:47
merged and 2.2.1 released
Original comment by anti...@gmail.com
on 23 Feb 2011 at 3:10
Original issue reported on code.google.com by
xgmlove...@gmail.com
on 23 Feb 2011 at 7:07