~axino/redis/+git/trunk:ziplist-improvements

Last commit made on 2017-01-27
Get this branch:
git clone -b ziplist-improvements https://git.launchpad.net/~axino/redis/+git/trunk

Branch merges

Branch information

Name:
ziplist-improvements
Repository:
lp:~axino/redis/+git/trunk

Recent commits

f748a11... by antirez <email address hidden>

ziplist: better comments, some refactoring.

713fe0b... by Salvatore Sanfilippo <email address hidden>

Merge pull request #3784 from badboy/dont-divide-by-zero

Don't divide by zero

3c9b817... by Jan-Erik Rediger <email address hidden>

Don't divide by zero

Previously Redis crashed on `MEMORY DOCTOR` when it has no slaves attached.

Fixes #3783

2e4f53a... by Salvatore Sanfilippo <email address hidden>

Merge pull request #3778 from MiterV1/unstable

Change switch statment to if statment

3ec1a00... by miter <Miterv@163.com>

Change switch statment to if statment

41d16f7... by Salvatore Sanfilippo <email address hidden>

Merge pull request #3657 from itamarhaber/patch-9

Verify pairs are provided after ZADD's subcommands

4326998... by Salvatore Sanfilippo <email address hidden>

Merge pull request #3712 from oranagra/fix_assert_debug_digest

fix rare assertion in DEBUG DIGEST

17ac46e... by antirez <email address hidden>

Add panic() into redisassert.h.

This header file is for libs, like ziplist.c, that we want to leave
almost separted from the core. The panic() calls will be easy to delete
in order to use such files outside, but the debugging info we gain are
very valuable compared to simple assertions where it is not possible to
print debugging info.

53b8bf2... by antirez <email address hidden>

serverPanic(): allow printf() alike formatting.

This is of great interest because allows us to print debugging
informations that could be of useful when debugging, like in the
following example:

    serverPanic("Unexpected encoding for object %d, %d",
        obj->type, obj->encoding);

2cd1ae7... by antirez <email address hidden>

Ziplist: remove static from functions, they prevent good crash reports.