Yossi Gottlieb 63c1303cfb
Modules: add defrag API support. (#8149)
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.
2020-12-13 09:56:01 +02:00
..
2020-12-02 17:24:27 +02:00
2020-03-23 12:02:12 +01:00
2016-06-15 11:49:49 +02:00
2020-09-13 13:50:23 +03:00
2015-10-09 09:47:17 +02:00
2010-10-15 12:54:53 +02:00