1. 23 12月, 2014 1 次提交
    • A
      INFO loading stats: three fixes. · 22a0fe8d
      antirez 提交于
      1. Server unxtime may remain not updated while loading AOF, so ETA is
      not updated correctly.
      
      2. Number of processed byte was not initialized.
      
      3. Possible division by zero condition (likely cause of issue #1932).
      22a0fe8d
  2. 19 12月, 2014 1 次提交
  3. 13 12月, 2014 2 次提交
  4. 04 12月, 2014 1 次提交
  5. 03 12月, 2014 3 次提交
    • A
      Network bandwidth tracking + refactoring. · d56ef629
      antirez 提交于
      Track bandwidth used by clients and replication (but diskless
      replication is not tracked since the actual transfer happens in the
      child process).
      
      This includes a refactoring that makes tracking new instantaneous
      metrics simpler.
      d56ef629
    • A
      Don't show the ASCII logo if syslog is enabled. · f60c8c09
      antirez 提交于
      Closes issue #1935.
      f60c8c09
    • A
      Mark PFCOUNT as read-only, even if not true. · 0e40124d
      antirez 提交于
      PFCOUNT is technically speaking a write command, since the cached value
      of the HLL is exposed in the data structure (design error, mea culpa), and
      can be modified by PFCOUNT.
      
      However if we flag PFCOUNT as "w", read only slaves can't execute the
      command, which is a problem since there are environments where slaves
      are used to scale PFCOUNT reads.
      
      Nor it is possible to just prevent PFCOUNT to modify the data structure
      in slaves, since without the cache we lose too much efficiency.
      
      So while this commit allows slaves to create a temporary inconsistency
      (the strings representing the HLLs in the master and slave can be
      different in certain moments) it is actually harmless.
      
      In the long run this should be probably fixed by turning the HLL into a
      more opaque representation, for example by storing the cached value in
      the part of the string which is not exposed (this should be possible
      with SDS strings).
      0e40124d
  6. 12 11月, 2014 1 次提交
  7. 29 10月, 2014 5 次提交
  8. 06 10月, 2014 2 次提交
  9. 16 9月, 2014 1 次提交
    • 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
  10. 08 9月, 2014 1 次提交
  11. 27 8月, 2014 9 次提交
  12. 18 7月, 2014 3 次提交
    • A
      PING: backward compatible error for wrong number of args. · 06e9b3ca
      antirez 提交于
      06e9b3ca
    • A
      Variadic PING with support for Pub/Sub. · 70e39481
      antirez 提交于
      PING can now be called with an additional arugment, behaving exactly
      like the ECHO command. PING can now also be called in Pub/Sub mode (with
      one more more subscriptions to channels / patterns) in order to trigger
      the delivery of an asynchronous pong message with the optional payload.
      
      This fixes issue #420.
      70e39481
    • A
      PubSub clients refactoring and new PUBSUB flag. · 294bcfc4
      antirez 提交于
      The code tested many times if a client had active Pub/Sub subscriptions
      by checking the length of a list and dictionary where the patterns and
      channels are stored. This was substituted with a client flag called
      REDIS_PUBSUB that is simpler to test for. Moreover in order to manage
      this flag some code was refactored.
      
      This commit is believed to have no effects in the behavior of the
      server.
      294bcfc4
  13. 14 7月, 2014 1 次提交
    • M
      Fix OBJECT arity · 3df2ab67
      michael-grunder 提交于
      Previously, the command definition for the OBJECT command specified
      a minimum of two args (and that it was variadic), which meant that
      if you sent this:
      
      OBJECT foo
      
      When cluster was enabled, it would result in an assertion/SEGFAULT
      when Redis was attempting to extract keys.
      
      It appears that OBJECT is not variadic, and only ever takes 3 args.
      
      https://gist.github.com/michael-grunder/25960ce1508396d0d36a
      3df2ab67
  14. 10 7月, 2014 6 次提交
  15. 03 7月, 2014 1 次提交
  16. 28 6月, 2014 2 次提交
    • A
      COMMAND COUNT subcommand added. · 63feb93a
      antirez 提交于
      63feb93a
    • A
      COMMAND: fix argument parsing. · 0a6649a7
      antirez 提交于
      This fixes detection of wrong subcommand (that resulted in the default
      all-commands output instead) and allows COMMAND INFO to be called
      without arguments (resulting into an empty array) which is useful in
      programmtically generated calls like the following (in Ruby):
      
          redis.commands("command","info",*mycommands)
      
      Note: mycommands may be empty.
      0a6649a7