1. 11 6月, 2015 1 次提交
  2. 03 6月, 2015 2 次提交
  3. 29 5月, 2015 1 次提交
  4. 06 2月, 2015 1 次提交
    • A
      Refactor BeginForkOperation · 5677f532
      Alexis Campailla 提交于
      Refactor BeginForkOperation in preparation for diskless replication:
      - Separate copying of operation data and child process creation
      - Provide specific entry points for each operation type
      5677f532
  5. 21 1月, 2015 1 次提交
    • A
      AOF rewrite: set iterator var to NULL when freed. · e7aa5fb5
      antirez 提交于
      The cleanup code expects that if 'di' is not NULL, it is a valid
      iterator that should be freed.
      
      The result of this bug was a crash of the AOF rewriting process if an
      error occurred after the DBs data are written and the iterator is no
      longer valid.
      e7aa5fb5
  6. 04 12月, 2014 1 次提交
    • A
      Issue 173: add child process log messages to main log file · 7827f413
      Alexis Campailla 提交于
      Slave processes were not using the master process log file.
      On Unix this is relying on the server.logfile variable being available
      to the slave processes through fork(), and reopening the logfile
      in the slaves (on every log event).
      On Windows we don't use server.logfile and require an explicity call
      to setLogFile.
      I resorted to explicitly passing the logfile to the slaves as a
      command line argument, so the logfile argument (and logging) can be
      available to the slave before qfork and globals setup have completed.
      
      Writing to the same file atomically from multiple processes requires
      using CreateFile with FILE_APPEND_DATA, instead of fopen, which provides
      atomicity on Unix but not on Windows.
      
      Also changed the implementation to not reopen the logfile on every
      log event, and not flushing the file on every write. Performance is
      dramaticaly improved this way.
      7827f413
  7. 06 10月, 2014 3 次提交
    • M
      Clean up text throughout project · e0ffc863
      Matt Stancliff 提交于
        - Remove trailing newlines from redis.conf
        - Fix comment misspelling
        - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242)
        - Fix cluster typos (inspired by @papanikge #1507)
        - Fix rewite -> rewrite in a few places (inspired by #682)
      
      Closes #1243, #1242, #1507
      e0ffc863
    • J
      Fix many small typos · 33daf8e9
      Jan-Erik Rediger 提交于
      Closes #1871
      33daf8e9
    • Z
      Fix incorrect comments · b72422e1
      zionwu 提交于
      error != success; and 0 != number of bytes written
      
      Closes #1806
      b72422e1
  8. 02 10月, 2014 1 次提交
  9. 17 9月, 2014 1 次提交
  10. 16 9月, 2014 2 次提交
    • A
      Seek at the end of AOF after truncate call. · 01f7db60
      antirez 提交于
      It is not clear if files open in append only mode will automatically fix
      their offset after a truncate(2) operation. This commit makes sure that
      we reposition the AOF file descriptor offset at the end of the file
      after a truncated AOF is loaded and trimmed to the last valid command.
      01f7db60
    • A
      On AOF end of file, truncate the AOF to last valid command. · 9faeff02
      antirez 提交于
      Recently we introduced the ability to load truncated AOFs, but
      unfortuantely the support was broken since the server, after loading the
      truncated AOF, continues appending to the file that is corrupted at the
      end. The problem is fixed only in the next AOF rewrite.
      
      This commit fixes the issue by truncating the AOF to the last valid
      opcode, and aborting if it is not possible to truncate the file
      correctly.
      9faeff02
  11. 08 9月, 2014 3 次提交
  12. 27 8月, 2014 1 次提交
  13. 01 8月, 2014 1 次提交
  14. 10 7月, 2014 5 次提交
  15. 21 6月, 2014 1 次提交
    • A
      CLIENT LIST speedup via peerid caching + smart allocation. · d8d415e7
      antirez 提交于
      This commit adds peer ID caching in the client structure plus an API
      change and the use of sdsMakeRoomFor() in order to improve the
      reallocation pattern to generate the CLIENT LIST output.
      
      Both the changes account for a very significant speedup.
      d8d415e7
  16. 22 5月, 2014 1 次提交
    • A
      Process events with processEventsWhileBlocked() when blocked. · f4823497
      antirez 提交于
      When we are blocked and a few events a processed from time to time, it
      is smarter to call the event handler a few times in order to handle the
      accept, read, write, close cycle of a client in a single pass, otherwise
      there is too much latency added for clients to receive a reply while the
      server is busy in some way (for example during the DB loading).
      f4823497
  17. 25 3月, 2014 1 次提交
    • M
      Fix data loss when save AOF/RDB with no free space · 88c6c669
      Matt Stancliff 提交于
      Previously, the (!fp) would only catch lack of free space
      under OS X.  Linux waits to discover it can't write until
      it actually writes contents to disk.
      
      (fwrite() returns success even if the underlying file
      has no free space to write into.  All the errors
      only show up at flush/sync/close time.)
      
      Fixes antirez/redis#1604
      88c6c669
  18. 12 2月, 2014 1 次提交
    • A
      AOF: don't abort on write errors unless fsync is 'always'. · fadbbdd3
      antirez 提交于
      A system similar to the RDB write error handling is used, in which when
      we can't write to the AOF file, writes are no longer accepted until we
      are able to write again.
      
      For fsync == always we still abort on errors since there is currently no
      easy way to avoid replying with success to the user otherwise, and this
      would violate the contract with the user of only acknowledging data
      already secured on disk.
      fadbbdd3
  19. 14 1月, 2014 1 次提交
  20. 08 1月, 2014 1 次提交
  21. 03 1月, 2014 1 次提交
  22. 05 12月, 2013 1 次提交
  23. 27 11月, 2013 1 次提交
  24. 07 11月, 2013 1 次提交
  25. 19 10月, 2013 1 次提交
  26. 20 8月, 2013 1 次提交
  27. 22 7月, 2013 1 次提交
  28. 08 7月, 2013 1 次提交
  29. 26 6月, 2013 1 次提交
  30. 02 5月, 2013 1 次提交