- 17 Apr, 2012 2 commits
-
-
antirez authored
lookupKeyByPattern() was implemented with a trick to speedup the lookup process allocating two fake Redis obejcts on the stack. However now that we propagate expires to the slave as DEL operations the lookup of the key may result into a call to expireIfNeeded() having the stack allocated object as argument, that may in turn use it to create the protocol to send to the slave. But since this fake obejcts are inherently read-only this is a problem. As a side effect of this fix there are no longer size limits in the pattern to be used with GET/BY option of SORT. See https://github.com/antirez/redis/issues/460 for bug details.
-
antirez authored
-
- 13 Apr, 2012 11 commits
-
-
antirez authored
-
antirez authored
I modified it for error in a previous commit doing search & replace.
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
Lua global protection can now be simpified becuase we no longer have the global() function. It's useless to occupy memory with this table, it is also not faster because the metamethods we use are only called when a global object does not exist or we are trying to create it from a script.
-
antirez authored
After considering the interaction between ability to delcare globals in scripts using the 'global' function, and the complexities related to hanlding replication and AOF in a sane way with globals AND ability to turn protection On and Off, we reconsidered the design. The new design makes clear that there is only one good way to write Redis scripts, that is not using globals. In the rare cases state must be retained across calls a Redis key can be used.
-
antirez authored
-
antirez authored
-
antirez authored
-
- 12 Apr, 2012 4 commits
- 11 Apr, 2012 9 commits
-
-
Salvatore Sanfilippo authored
added explanation for the magic 511 backlog number
-
Erik Dubbelboer authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
Pieter Noordhuis authored
Remove unused variables. Instead of overriding non-standard variables such as ARCH and PROF, use standard variables CFLAGS and LDFLAGS to override Makefile settings. Move dependencies generated by `make dep` to a separate file.
-
Pieter Noordhuis authored
-
antirez authored
-
- 10 Apr, 2012 4 commits
-
-
antirez authored
Check write(2) return value to avoid warnings, because in this context failing write is not critical.
-
antirez authored
-
antirez authored
-
antirez authored
It is now possible to enable/disable RDB checksum computation from redis.conf or via CONFIG SET/GET. Also CONFIG SET support added for rdbcompression as well.
-
- 09 Apr, 2012 6 commits
- 08 Apr, 2012 1 commit
-
-
antirez authored
-
- 07 Apr, 2012 3 commits