1. 09 Jul, 2012 2 commits
    • antirez's avatar
      Typo in comment. · 0332a321
      antirez authored
      0332a321
    • antirez's avatar
      REPLCONF internal command introduced. · b998ebe9
      antirez authored
      The REPLCONF command is an internal command (not designed to be directly
      used by normal clients) that allows a slave to set some replication
      related state in the master before issuing SYNC to start the
      replication.
      
      The initial motivation for this command, and the only reason currently
      it is used by the implementation, is to let the slave instance
      communicate its listening port to the slave, so that the master can
      show all the slaves with their listening ports in the "replication"
      section of the INFO output.
      
      This allows clients to auto discover and query all the slaves attached
      into a master.
      
      Currently only a single option of the REPLCONF command is supported, and
      it is called "listening-port", so the slave now starts the replication
      process with something like the following chat:
      
          REPLCONF listening-prot 6380
          SYNC
      
      Note that this works even if the master is an older version of Redis and
      does not understand REPLCONF, because the slave ignores the REPLCONF
      error.
      
      In the future REPLCONF can be used for partial replication and other
      replication related features where there is the need to exchange
      information between master and slave.
      
      NOTE: This commit also fixes a bug: the INFO outout already carried
      information about slaves, but the port was broken, and was obtained
      with getpeername(2), so it was actually just the ephemeral port used
      by the slave to connect to the master as a client.
      b998ebe9
  2. 29 Mar, 2012 2 commits
  3. 07 Jan, 2012 1 commit
  4. 30 Nov, 2011 1 commit
  5. 18 Oct, 2011 3 commits
  6. 09 Jun, 2011 1 commit
  7. 30 May, 2011 1 commit
  8. 22 May, 2011 2 commits
  9. 19 May, 2011 1 commit
  10. 21 Feb, 2011 1 commit
  11. 20 Jan, 2011 1 commit
  12. 14 Dec, 2010 1 commit
  13. 12 Nov, 2010 1 commit
  14. 04 Nov, 2010 4 commits
  15. 24 Oct, 2010 1 commit
  16. 02 Sep, 2010 1 commit
  17. 27 Aug, 2010 1 commit
  18. 24 Aug, 2010 2 commits
  19. 01 Jul, 2010 2 commits
    • antirez's avatar
      Fixed MONITOR output for consistency: now integer encoded values are also... · d3b958c3
      antirez authored
      Fixed MONITOR output for consistency: now integer encoded values are also formatted like this: "3932"
      d3b958c3
    • 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