1. 14 Dec, 2014 1 commit
    • Mihir Joshi's avatar
      Stricter options for SET command · 352172a7
      Mihir Joshi authored
      - As per Antirez's suggestion, this commit raises an error when mutually
      exclusive options are provided. Duplicate options are allowed.
      352172a7
  2. 22 Nov, 2014 1 commit
    • Mihir Joshi's avatar
      stricter options for SET command · e9b014cf
      Mihir Joshi authored
      Issue: #2157
      As the SET command is parsed, it remembers which options are already set
      and if a duplicate option is found, raises an error because it is
      essentially an invalid syntax.
      
      It still allows mutually exclusive options like EX and PX because taking
      an option over another (precedence) is not essentially a syntactic
      error.
      e9b014cf
  3. 14 Nov, 2014 10 commits
  4. 12 Nov, 2014 3 commits
  5. 11 Nov, 2014 2 commits
    • antirez's avatar
      Diskless SYNC: fix RDB EOF detection. · bb7fea0d
      antirez authored
      RDB EOF detection was relying on the final part of the RDB transfer to
      be a magic 40 bytes EOF marker. However as the slave is put online
      immediately, and because of sockets timeouts, the replication stream is
      actually contiguous with the RDB file.
      
      This means that to detect the EOF correctly we should either:
      
      1) Scan all the stream searching for the mark. Sucks CPU-wise.
      2) Start to send the replication stream only after an acknowledge.
      3) Implement a proper chunked encoding.
      
      For now solution "2" was picked, so the master does not start to send
      ASAP the stream of commands in the case of diskless replication. We wait
      for the first REPLCONF ACK command from the slave, that certifies us
      that the slave correctly loaded the RDB file and is ready to get more
      data.
      bb7fea0d
    • antirez's avatar
  6. 31 Oct, 2014 2 commits
  7. 30 Oct, 2014 1 commit
  8. 29 Oct, 2014 6 commits
  9. 27 Oct, 2014 6 commits
  10. 24 Oct, 2014 3 commits
  11. 23 Oct, 2014 1 commit
  12. 22 Oct, 2014 3 commits
  13. 17 Oct, 2014 1 commit