diff options
author | Oran Agra <oran@redislabs.com> | 2020-11-02 09:35:37 +0200 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2020-12-06 14:54:34 +0200 |
commit | 3716950cfc389c0f7ed13fac5bd205173c2d8189 (patch) | |
tree | 7e9e73ac7ffda406e85a19c1b365a1a13deab81d /src/zmalloc.c | |
parent | 5b44631397787a65327fcab77f7df37862286ed9 (diff) | |
download | redis-3716950cfc389c0f7ed13fac5bd205173c2d8189.tar.gz |
Sanitize dump payload: validate no duplicate records in hash/zset/intset
If RESTORE passes successfully with full sanitization, we can't affort
to crash later on assertion due to duplicate records in a hash when
converting it form ziplist to dict.
This means that when doing full sanitization, we must make sure there
are no duplicate records in any of the collections.
Diffstat (limited to 'src/zmalloc.c')
0 files changed, 0 insertions, 0 deletions