1. 11 7月, 2013 6 次提交
  2. 08 7月, 2013 3 次提交
  3. 02 7月, 2013 1 次提交
  4. 01 7月, 2013 1 次提交
  5. 27 6月, 2013 1 次提交
  6. 26 6月, 2013 6 次提交
    • A
      Move Replication Script Cache initialization in safer place. · 8450d6e2
      antirez 提交于
      It should be called just one time at startup and not every time the Lua
      scripting engine is re-initialized, otherwise memory is leaked.
      8450d6e2
    • A
      Use the RSC to replicate EVALSHA unmodified. · 545fe0c3
      antirez 提交于
      This commit uses the Replication Script Cache in order to avoid
      translating EVALSHA into EVAL whenever possible for both the AOF and
      slaves.
      545fe0c3
    • A
      Replication of scripts as EVALSHA: sha1 caching implemented. · 9d894b1b
      antirez 提交于
      This code is only responsible to take an LRU-evicted fixed length cache
      of SHA1 that we are sure all the slaves received.
      
      In this commit only the implementation is provided, but the Redis core
      does not use it to actually send EVALSHA to slaves when possible.
      9d894b1b
    • A
      New API to force propagation. · 8328d993
      antirez 提交于
      The old REDIS_CMD_FORCE_REPLICATION flag was removed from the
      implementation of Redis, now there is a new API to force specific
      executions of a command to be propagated to AOF / Replication link:
      
          void forceCommandPropagation(int flags);
      
      The new API is also compatible with Lua scripting, so a script that will
      execute commands that are forced to be propagated, will also be
      propagated itself accordingly even if no change to data is operated.
      
      As a side effect, this new design fixes the issue with scripts not able
      to propagate PUBLISH to slaves (issue #873).
      8328d993
    • A
      PUBSUB command implemented. · a8f1474d
      antirez 提交于
      Currently it implements three subcommands:
      
      PUBSUB CHANNELS [<pattern>]    List channels with non-zero subscribers.
      PUBSUB NUMSUB [channel_1 ...]  List number of subscribers for channels.
      PUBSUB NUMPAT                  Return number of subscribed patterns.
      a8f1474d
    • Y
      don't assume time_t == long · 3642557a
      YAMAMOTO Takashi 提交于
      time_t is always 64bit on recent versions of NetBSD.
      3642557a
  7. 31 5月, 2013 1 次提交
    • A
      New INFO field "min_slaves_good_slaves". · 971217c7
      antirez 提交于
      When min-slaves-to-write feature is active, this field reports the
      number of slaves considered good (online state, lag within the specified
      range).
      971217c7
  8. 30 5月, 2013 4 次提交
  9. 28 5月, 2013 1 次提交
  10. 27 5月, 2013 2 次提交
  11. 15 5月, 2013 4 次提交
  12. 24 4月, 2013 1 次提交
  13. 19 4月, 2013 1 次提交
  14. 02 4月, 2013 1 次提交
    • A
      Throttle BGSAVE attempt on saving error. · d6b0c18c
      antirez 提交于
      When a BGSAVE fails, Redis used to flood itself trying to BGSAVE at
      every next cron call, that is either 10 or 100 times per second
      depending on configuration and server version.
      
      This commit does not allow a new automatic BGSAVE attempt to be
      performed before a few seconds delay (currently 5).
      
      This avoids both the auto-flood problem and filling the disk with
      logs at a serious rate.
      
      The five seconds limit, considering a log entry of 200 bytes, will use
      less than 4 MB of disk space per day that is reasonable, the sysadmin
      should notice before of catastrofic events especially since by default
      Redis will stop serving write queries after the first failed BGSAVE.
      
      This fixes issue #849
      d6b0c18c
  15. 28 3月, 2013 2 次提交
  16. 26 3月, 2013 2 次提交
  17. 13 3月, 2013 3 次提交