1. 21 12月, 2014 1 次提交
  2. 05 12月, 2014 1 次提交
    • A
      Revisit time functions · 08e4226e
      Alexis Campailla 提交于
      Addressing https://github.com/MSOpenTech/redis/issues/188
      
      - Made gettimeofday use GetSystemTimePreciseAsFileTime when available
      - Introduced definitions for gettimeofday_fast and gettimeofday_precise,
        so that calls can be specialized based on specific usage requirements
      - Introduced GetHighResRelativeTime, for high-resolution relative time
        measurements on all Windows versions.
      08e4226e
  3. 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
  4. 14 11月, 2014 1 次提交
  5. 09 11月, 2014 1 次提交
  6. 06 11月, 2014 2 次提交
  7. 29 10月, 2014 2 次提交
  8. 24 10月, 2014 1 次提交
    • D
      Using QueryPerformancecounter to measure latency in redis-benchmark.exe · 7c664444
      deepakv 提交于
       Redis-benchmark on windows seems to be not able to calculate the time granularity in micro seconds.
           Came across this article http://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx and updated the benchmark for latency measurements accordingly.
      
           Windows:
           Following is output from windows for micro seconds taken for each request. Where for any request taking less than 1 ms is being calculated as 0
           redis-benchmark.exe -h <azurerediscache> -a pwd -c 1 -d 1024 -t get -n 10
           0,0,0,0,0,0,0,0
      
           Linux:
           src/redis-benchmark -h <azurerediscache> -a pwd -c 1 -d 1024 -t get -n 10
           792,800,808,820,837,845,888,891,971,2498
      
           After the change on windows now it shows following:
           796,809,887,890,893,943,944,974
      7c664444
  9. 02 10月, 2014 2 次提交
  10. 24 9月, 2014 1 次提交
  11. 22 9月, 2014 1 次提交
  12. 20 9月, 2014 2 次提交
  13. 19 9月, 2014 2 次提交
  14. 17 9月, 2014 2 次提交
  15. 16 9月, 2014 6 次提交
    • A
      Redis 2.8.16. · a6953496
      antirez 提交于
      a6953496
    • A
      Better truncated AOF loading tests. · 5e38bc38
      antirez 提交于
      Now there are tests to write more data after loading a truncated AOF,
      testing that the loaded data is correct, appending more, and testing
      again.
      5e38bc38
    • 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
    • A
      Don't propagate SAVE. · fbd9dc60
      antirez 提交于
      This is a general fix (check that dirty delta is positive) but actually
      should have as the only effect fixing the SAVE propagation to
      AOF and slaves.
      fbd9dc60
    • J
  16. 12 9月, 2014 4 次提交
  17. 10 9月, 2014 7 次提交
  18. 08 9月, 2014 3 次提交