1. 19 Feb, 2017 1 commit
  2. 10 Feb, 2015 1 commit
  3. 07 Feb, 2015 1 commit
  4. 03 Feb, 2015 1 commit
  5. 11 Dec, 2014 1 commit
  6. 04 Dec, 2014 1 commit
  7. 08 Aug, 2014 1 commit
  8. 26 Jun, 2014 1 commit
    • Matt Stancliff's avatar
      Allow __powerpc__ to define HAVE_ATOMIC too · a3e7a665
      Matt Stancliff authored
      From mailing list post https://groups.google.com/forum/#!topic/redis-db/D3k7KmJmYgM
      
      In the file “config.h”, the definition HAVE_ATOMIC is used to indicate
      if an architecture on which redis is implemented supports atomic
      synchronization primitives.  Powerpc  supports atomic synchronization
      primitives, however, it is not listed as one of the architectures
      supported in config.h. This patch  adds the __powerpc__ to the list of
      architectures supporting these primitives. The improvement of redis
      due to the atomic synchronization on powerpc is significant,
      around 30% to 40%, over the default implementation using pthreads.
      
      This proposal adds __powerpc__ to the list of architectures designated
      to support atomic builtins.
      a3e7a665
  9. 07 May, 2014 1 commit
  10. 27 Feb, 2013 1 commit
    • Stam He's avatar
      Set proctitle: avoid the use of __attribute__((constructor)). · 9c8be6ca
      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.
      9c8be6ca
  11. 26 Feb, 2013 1 commit
    • antirez's avatar
      Set process name in ps output to make operations safer. · 6356cf68
      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.
      6356cf68
  12. 21 Jan, 2013 1 commit
    • antirez's avatar
      Not every __sun has backtrace(). · cd892d01
      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.
      cd892d01
  13. 11 Dec, 2012 1 commit
    • antirez's avatar
      Fix config.h endianess detection to work on Linux / PPC64. · 705874e3
      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.
      705874e3
  14. 21 Nov, 2012 1 commit
  15. 08 Nov, 2012 1 commit
  16. 26 Oct, 2012 1 commit
  17. 25 Oct, 2012 2 commits
  18. 28 Aug, 2012 1 commit
    • antirez's avatar
      Incrementally flush RDB on disk while loading it from a master. · 784b9308
      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).
      784b9308
  19. 15 May, 2012 1 commit
  20. 11 Apr, 2012 1 commit
  21. 26 Feb, 2012 2 commits
  22. 21 Feb, 2012 1 commit
  23. 20 Jun, 2011 1 commit
  24. 05 May, 2011 2 commits
  25. 09 Mar, 2011 2 commits
  26. 23 Oct, 2010 2 commits
  27. 02 Sep, 2010 2 commits
  28. 01 Jul, 2010 1 commit
    • antirez's avatar
      redis.c split into many different C files. · e2641e09
      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
      e2641e09
  29. 02 May, 2010 1 commit
  30. 21 Apr, 2010 1 commit
  31. 20 Apr, 2010 1 commit
  32. 28 Nov, 2009 3 commits