f-stack/app/redis-6.2.6/utils/hashtable
用jfb8856606 7616fe14b6 Redis: upgrade to redis-6.2.6. 2022-09-02 02:55:00 +00:00
..
README Redis: upgrade to redis-6.2.6. 2022-09-02 02:55:00 +00:00
rehashing.c Redis: upgrade to redis-6.2.6. 2022-09-02 02:55:00 +00:00

README

Hash table implementation related utilities.

rehashing.c
---

Visually show buckets in the two hash tables between rehashings. Also stress
test getRandomKeys() implementation, that may actually disappear from
Redis soon, However the visualization code is reusable in new bugs
investigation.

Compile with:

    cc -I ../../src/ rehashing.c ../../src/zmalloc.c ../../src/dict.c -o rehashing_test