Permalink
Commits on Mar 14, 2012
  1. sds.c new function sdsRemoveFreeSpace().

    The new function is used in order to resize the string allocation so
    that only the minimal allocation possible is used, removing all the free
    space at the end of the string normally used to improve efficiency of
    concatenation operations.
    antirez committed Mar 14, 2012
  2. Call all the helper functions needed by clientsCron() as clientsCronS…

    …omething() for clarity.
    antirez committed Mar 14, 2012
Commits on Mar 13, 2012
  1. Process async client checks like client timeouts and BLPOP timeouts i…

    …ncrementally using a circular list.
    antirez committed Mar 13, 2012
  2. RDB hashes loading, fixed another bug in the loading of HT-encoded ha…

    …shes: when the hash entry is too big for ziplist, add the field, then convert. The code used to break before the new entry was inserted, resulting into missing fields in the loaded Hash object.
    antirez committed Mar 13, 2012
  3. RDB hashes loading fixed removing the assertion that failed every tim…

    …e an HT-encoded hash was loaded.
    antirez committed Mar 13, 2012
Commits on Mar 10, 2012
  1. Merge pull request #378 from quiver/unstable

    fix typo of redis.conf
    antirez committed Mar 10, 2012
  2. fix typo of redis.conf

    quiver committed Mar 10, 2012
  3. Build dependencies updated.

    antirez committed Mar 10, 2012
  4. RDB version is no 4, because small hashes are now encoded as ziplists…

    …, so older versions of Redis will not understand this format.
    antirez committed Mar 10, 2012
  5. More vertical space saved.

    antirez committed Mar 10, 2012
  6. Minor code aesthetic change to use Redis code base style rule of savi…

    …ng vertical space when possible.
    antirez committed Mar 10, 2012
  7. Removed handling of deprecated hash-max-zipmap-entries nad hash-map-z…

    …ipmap-value. Pieter is too good with users ;). Better to have them switch to a saner configuration ASAP after the 2.6 upgrade.
    antirez committed Mar 10, 2012
  8. Added a top-function comment to rioWriteHashIteratorCursor() to bette…

    …r specify what the function does. Not immediately clear from the name.
    antirez committed Mar 10, 2012
Commits on Mar 9, 2012
  1. Merge conflicts resolved.

    antirez committed Mar 9, 2012
Commits on Mar 8, 2012
  1. run_id added to INFO output.

    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.
    antirez committed Mar 8, 2012
  2. clusterGetRandomName() generalized into getRandomHexChars() so that w…

    …e can use it for the run_id field as well.
    antirez committed Mar 8, 2012
Commits on Mar 7, 2012
  1. By default Redis refuses writes with an error if the latest BGSAVE fa…

    …iled (and at least one save point is configured). However people having good monitoring systems may prefer a server that continues to work, since they are notified that there are problems by their monitoring systems. This commit implements the ability to turn the feature on or off via redis.conf and CONFIG SET.
    antirez committed Mar 7, 2012
  2. Refuse writes if can't persist on disk.

    Redis now refuses accepting write queries if RDB persistence is
    configured, but RDB snapshots can't be generated for some reason.
    The status of the latest background save operation is now exposed
    in the INFO output as well. This fixes issue #90.
    antirez committed Mar 7, 2012
  3. Better MONITOR output, now includes client ip:port or the lua string …

    …if the command was executed by the scripting engine.
    antirez committed Mar 7, 2012
  4. anetPeerToString() automatically populates ip/port with something tha…

    …t may be provided to the user as output in case of errors.
    antirez committed Mar 7, 2012
  5. TIME command.

    antirez committed Mar 7, 2012
Commits on Feb 29, 2012