1. 13 2月, 2018 9 次提交
  2. 02 2月, 2018 1 次提交
  3. 24 1月, 2018 3 次提交
  4. 23 1月, 2018 1 次提交
  5. 18 1月, 2018 3 次提交
    • A
      Fix migrateCommand() access of not initialized byte. · 727dd436
      antirez 提交于
      727dd436
    • G
      Replication buffer fills up on high rate traffic. · fd8efb7c
      Guy Benoish 提交于
      When feeding the master with a high rate traffic the the slave's feed is much slower.
      This causes the replication buffer to grow (indefinitely) which leads to slave disconnection.
      The problem is that writeToClient() decides to stop writing after NET_MAX_WRITES_PER_EVENT
      writes (In order to be fair to clients).
      We should ignore this when the client is a slave.
      It's better if clients wait longer, the alternative is that the slave has no chance to stay in
      sync in this situation.
      fd8efb7c
    • A
      Cluster: improve anti-affinity algo in redis-trib.rb. · 1673a3f3
      antirez 提交于
      See #3462 and related PRs.
      
      We use a simple algorithm to calculate the level of affinity violation,
      and then an optimizer that performs random swaps until things improve.
      1673a3f3
  6. 17 1月, 2018 4 次提交
  7. 16 1月, 2018 4 次提交
  8. 15 1月, 2018 4 次提交
  9. 13 1月, 2018 4 次提交
  10. 12 1月, 2018 1 次提交
    • A
      Fix getKeysUsingCommandTable() in the case of nagative arity. · 2f8476df
      antirez 提交于
      This fixes a crash with Redis Cluster when OBJECT is mis-used, because
      getKeysUsingCommandTable() will call serverPanic() detecting we are
      accessing an invalid argument in the case "OBJECT foo" is called.
      
      This bug was introduced when OBJECT HELP was introduced, because the key
      argument is set fixed at index 2 in the command table, however now
      OBJECT may be called with an insufficient number of arguments to extract
      the key.
      
      The "Right Thing" would be to have a specific function to extract keys
      from the OBJECT command, however this is kinda of an overkill, so I
      preferred to make getKeysUsingCommandTable() more robust and just return
      no keys when it's not possible to honor the command table, because new
      commands are often added and also there are a number with an HELP
      subcommand violating the normal form, and crashing for this trivial
      reason or having many command-specific key extraction functions is not
      great.
      2f8476df
  11. 11 1月, 2018 4 次提交
  12. 10 1月, 2018 2 次提交