mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
63c1303cfb
Add a new set of defrag functions that take a defrag context and allow defragmenting memory blocks and RedisModuleStrings. Modules can register a defrag callback which will be invoked when the defrag process handles globals. Modules with custom data types can also register a datatype-specific defrag callback which is invoked for keys that require defragmentation. The callback and associated functions support both one-step and multi-step options, depending on the complexity of the key as exposed by the free_effort callback. |
||
---|---|---|
.. | ||
auth.c | ||
blockedclient.c | ||
blockonkeys.c | ||
commandfilter.c | ||
datatype.c | ||
defragtest.c | ||
fork.c | ||
getkeys.c | ||
hooks.c | ||
infotest.c | ||
keyspace_events.c | ||
Makefile | ||
misc.c | ||
propagate.c | ||
scan.c | ||
test_lazyfree.c | ||
testrdb.c | ||
timer.c |