- 27 Feb, 2013 1 commit
-
-
Stam He authored
This cased a segfault in some Linux system and was GCC-specific. Commit modified by @antirez: 1) Stripped away the part to set the proc title via config for now. 2) Handle initialization of setproctitle only when the replacement is used. 3) Don't require GCC now that the attribute constructor is no longer used.
-
- 26 Feb, 2013 1 commit
-
-
antirez authored
This commit allows Redis to set a process name that includes the binding address and the port number in order to make operations simpler. Redis children processes doing AOF rewrites or RDB saving change the name into redis-aof-rewrite and redis-rdb-bgsave respectively. This in general makes harder to kill the wrong process because of an error and makes simpler to identify saving children. This feature was suggested by Arnaud GRANAL in the Redis Google Group, Arnaud also pointed me to the setproctitle.c implementation includeed in this commit. This feature should work on all the Linux, OSX, and all the three major BSD systems.
-
- 21 Jan, 2013 1 commit
-
-
antirez authored
I don't know how to test for Open Solaris that has support for backtrace() so for now removing the #ifdef that breaks compilation under other Solaris flavors.
-
- 11 Dec, 2012 1 commit
-
-
antirez authored
Config.h performs endianess detection including OS-specific headers to define the endianess macros, or when this is not possible, checking the processor type via ifdefs. Sometimes when the OS-specific macro is included, only __BYTE_ORDER is defined, while BYTE_ORDER remains undefined. There is code at the end of config.h endianess detection in order to define the macros without the underscore, but it was not working correctly. This commit fixes endianess detection fixing Redis on Linux / PPC64 and possibly other systems.
-
- 21 Nov, 2012 1 commit
-
-
antirez authored
-
- 08 Nov, 2012 1 commit
-
-
antirez authored
-
- 26 Oct, 2012 1 commit
-
-
antirez authored
-
- 25 Oct, 2012 2 commits
- 28 Aug, 2012 1 commit
-
-
antirez authored
This fixes issue #539. Basically if there is enough free memory the OS may buffer the RDB file that the slave transfers on disk from the master. The file may actually be flused on disk at once by the operating system when it gets closed by Redis, causing the close system call to block for a long time. This patch is a modified version of one provided by yoav-steinberg of @garantiadata (the original version was posted in the issue #539 comments), and tries to flush the OS buffers incrementally (every 8 MB of loaded data).
-
- 15 May, 2012 1 commit
-
-
Dave Pacheco authored
-
- 11 Apr, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 26 Feb, 2012 2 commits
-
-
Jakub Wieczorek authored
-
Premysl Hruby authored
-
- 21 Feb, 2012 1 commit
-
-
Pieter Noordhuis authored
-
- 20 Jun, 2011 1 commit
-
-
antirez authored
-
- 05 May, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 09 Mar, 2011 2 commits
- 23 Oct, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
Also, use tcmalloc functions explicitly via macros to prevent symbol lookups to resolve to native malloc/free on OSX.
-
- 02 Sep, 2010 2 commits
- 01 Jul, 2010 1 commit
-
-
antirez authored
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change
-
- 02 May, 2010 1 commit
-
-
antirez authored
-
- 21 Apr, 2010 1 commit
-
- 20 Apr, 2010 1 commit
-
-
antirez authored
-
- 28 Nov, 2009 3 commits
-
-
antirez authored
enable kqueue/kevent only for Mac OS X 10.6.x as it seems that 10.5.x has a broken implementation of this syscalls.
-
antirez authored
ifdefs added to use kevent on Free Open and Net BSD as well. INFO and ae.c modified in order to report the multiplexing API in use
-
Harish Mallipeddi authored
-
- 23 Nov, 2009 3 commits
-
-
antirez authored
-
antirez authored
commented the HAVE_EPOLL test in config.h to allow compilation under Linux now that the epoll module is still missing
-
antirez authored
ae.c now supports multiple polling API modules, even if only ae_select.c is implemented currently. Also adding and removing an event is now O(1).
-
- 24 Jul, 2009 1 commit
-
-
antirez authored
fixed compilation with Snow Leopard, thanks to Lon Baker for providing SSH access to Snow Leopard box
-
- 07 Jun, 2009 1 commit
-
-
antirez authored
-
- 05 Jun, 2009 1 commit
-
-
antirez authored
-