1. 22 Nov, 2018 4 commits
  2. 20 Nov, 2018 9 commits
  3. 07 Nov, 2018 15 commits
  4. 05 Nov, 2018 12 commits
    • antirez's avatar
      Fix XCLAIM missing entry bug. · 1ed821e2
      antirez authored
      This bug had a double effect:
      
      1. Sometimes entries may not be emitted, producing broken protocol where
      the array length was greater than the emitted entires, blocking the
      client waiting for more data.
      
      2. Some other time the right entry was claimed, but a wrong entry was
      returned to the client.
      
      This fix should correct both the instances.
      1ed821e2
    • michael-grunder's avatar
      Use typedef'd mstime_t instead of time_t · b49bcd01
      michael-grunder authored
      This fixes an overflow on 32-bit systems.
      b49bcd01
    • antirez's avatar
      Improve streamReplyWithRange() top comment. · 09d1849e
      antirez authored
      09d1849e
    • antirez's avatar
      Add support for Sentinel authentication. · bdf6306f
      antirez authored
      So far it was not possible to setup Sentinel with authentication
      enabled. This commit introduces this feature: every Sentinel will try to
      authenticate with other sentinels using the same password it is
      configured to accept clients with.
      
      So for instance if a Sentinel has a "requirepass" configuration
      statemnet set to "foo", it will use the "foo" password to authenticate
      with every other Sentinel it connects to. So basically to add the
      "requirepass" to all the Sentinels configurations is enough in order to
      make sure that:
      
      1) Clients will require the password to access the Sentinels instances.
      2) Each Sentinel will use the same password to connect and authenticate
         with every other Sentinel in the group.
      
      Related to #3279 and #3329.
      bdf6306f
    • antirez's avatar
      Disable protected mode in Sentinel mode. · 50222af5
      antirez authored
      Sentinel must be exposed, so protected mode is just an issue for users
      in case Redis was started in Sentinel mode.
      
      Related to #3279 and #3329.
      50222af5
    • antirez's avatar
      When replica kills a pending RDB save during SYNC, log it. · 643ee6e3
      antirez authored
      This logs what happens in the context of the fix in PR #5367.
      643ee6e3
    • Andrey Bugaevskiy's avatar
      8b609c99
    • Andrey Bugaevskiy's avatar
      Prevent RDB autosave from overwriting full resync results · 27102605
      Andrey Bugaevskiy authored
      During the full database resync we may still have unsaved changes
      on the receiving side. This causes a race condition between
      synced data rename/load and the rename of rdbSave tempfile.
      27102605
    • antirez's avatar
      asyncCloseClientOnOutputBufferLimitReached(): don't free fake clients. · a677923d
      antirez authored
      Fake clients are used in special situations and are not linked to the
      normal clients list, freeing them will always result in Redis crashing
      in one way or the other.
      
      It's not common to send replies to fake clients, but we have one usage
      in the modules API. When a client is blocked, we associate to the
      blocked client object (that is safe to manipulate in a thread), a fake
      client that accumulates replies. So because of this bug there was
      the problem described in issue #5443.
      
      The fix was verified to work with the provided example module. To write
      a regression is very hard and unlikely to be triggered in the future.
      a677923d
    • David Carlier's avatar
      needs it for the global · 427e440a
      David Carlier authored
      427e440a
    • David Carlier's avatar
      Fix non Linux build. · 28f9ca4e
      David Carlier authored
      timezone global is a linux-ism whereas it is a function under BSD.
      Here a helper to get the timezone value in a more portable manner.
      28f9ca4e
    • zhaozhao.zz's avatar