1. 14 5月, 2015 6 次提交
  2. 13 5月, 2015 1 次提交
  3. 12 5月, 2015 4 次提交
  4. 11 5月, 2015 1 次提交
  5. 08 5月, 2015 4 次提交
  6. 07 5月, 2015 1 次提交
    • A
      Sentinel: don't detect duplicated Sentinels, just address switch · a0cd75cd
      antirez 提交于
      Since with a previous commit Sentinels now persist their unique ID, we
      no longer need to detect duplicated Sentinels and re-add them. We remove
      and re-add back using different events only in the case of address
      switch of the same Sentinel, without generating a new +sentinel event.
      a0cd75cd
  7. 06 5月, 2015 1 次提交
    • A
      Sentinel: persist its unique ID across restarts. · 794fc4c9
      antirez 提交于
      Previously Sentinels always changed unique ID across restarts, relying
      on the server.runid field. This is not a good idea, and forced Sentinel
      to rely on detection of duplicated Sentinels and a potentially dangerous
      clean-up and re-add operation of the Sentinel instance that was
      rebooted.
      
      Now the ID is generated at the first start and persisted in the
      configuration file, so that a given Sentinel will have its unique
      ID forever (unless the configuration is manually deleted or there is a
      filesystem corruption).
      794fc4c9
  8. 05 5月, 2015 4 次提交
  9. 04 5月, 2015 6 次提交
  10. 29 4月, 2015 4 次提交
    • A
      7af420e7
    • A
      Add header guard for ziplist.h · 9e7f39d2
      antirez 提交于
      As suggested in #2543.
      9e7f39d2
    • S
      Merge pull request #2550 from badboy/readme-fixes · fe0d71d5
      Salvatore Sanfilippo 提交于
      Fix spelling and grammatical errors in readme
      fe0d71d5
    • A
      Fix Sentinel memory leak (hiredis bug) · c806dd79
      antirez 提交于
      This fixes issue #2535, that was actually an hiredis library bug (I
      submitted an issue and fix to the redis/hiredis repo as well).
      
      When an asynchronous hiredis connection subscribes to a Pub/Sub channel
      and gets an error, and in other related conditions, the function
      redisProcessCallbacks() enters a code path where the link is
      disconnected, however the function returns before freeing the allocated
      reply object. This causes a memory leak. The memory leak was trivial to
      trigger in Redis Sentinel, which uses hiredis, every time we tried to
      subscribe to an instance that required a password, in case the Sentinel
      was configured either with the wrong password or without password at
      all. In this case, the -AUTH error caused the leaking code path to be
      executed.
      
      It was verified with Valgrind that after this change the leak no longer
      happens in Sentinel with a misconfigured authentication password.
      c806dd79
  11. 28 4月, 2015 3 次提交
  12. 27 4月, 2015 3 次提交
  13. 26 4月, 2015 1 次提交
  14. 24 4月, 2015 1 次提交