1. 08 Mar, 2012 2 commits
    • antirez's avatar
      run_id added to INFO output. · 91d664d6
      antirez authored
      The Run ID is a field that identifies a single execution of the Redis
      server. It can be useful for many purposes as it makes easy to detect if
      the instance we are talking about is the same, or if it is a different
      one or was rebooted. An application of run_id will be in the partial
      synchronization of replication, where a slave may request a partial sync
      from a given offset only if it is talking with the same master. Another
      application is in failover and monitoring scripts.
      91d664d6
    • antirez's avatar
      clusterGetRandomName() generalized into getRandomHexChars() so that we can use... · 44f508f1
      antirez authored
      clusterGetRandomName() generalized into getRandomHexChars() so that we can use it for the run_id field as well.
      44f508f1
  2. 07 Mar, 2012 5 commits
  3. 29 Feb, 2012 5 commits
  4. 28 Feb, 2012 6 commits
  5. 26 Feb, 2012 3 commits
  6. 24 Feb, 2012 1 commit
  7. 23 Feb, 2012 2 commits
  8. 22 Feb, 2012 4 commits
  9. 21 Feb, 2012 4 commits
  10. 19 Feb, 2012 1 commit
  11. 16 Feb, 2012 3 commits
    • Pieter Noordhuis's avatar
      Don't expire keys when loading an RDB after a SYNC · cb598cdd
      Pieter Noordhuis authored
      The cron is responsible for expiring keys. When keys are expired at
      load time, it is possible that the snapshot of a master node gets
      modified. This can in turn lead to inconsistencies in the data set.
      
      A more concrete example of this behavior follows. A user reported a
      slave that would show an monotonically increase input buffer length,
      shortly after completing a SYNC. Also, `INFO` output showed a single
      blocked client, which could only be the master link. Investigation
      showed that indeed the `BRPOP` command was fed by the master. This
      command can only end up in the stream of write operations when it did
      NOT block, and effectively executed `RPOP`. However, when the key
      involved in the `BRPOP` is expired BEFORE the command is executed, the
      client executing it will block. The client in this case, is the master
      link.
      cb598cdd
    • antirez's avatar
      a400a9b2
    • antirez's avatar
  12. 15 Feb, 2012 1 commit
  13. 14 Feb, 2012 3 commits