diff options
author | chenyang8094 <chenyang8094@users.noreply.github.com> | 2021-06-16 14:45:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 09:45:49 +0300 |
commit | e0cd3ad0de0bf2fe6ea0227e5ad7a0a489688b33 (patch) | |
tree | 799442b67bc21b1f4e70ebedd14ddde586d1d183 /runtest-moduleapi | |
parent | 7f342020dcbdf9abe754d6b666efdeded7063870 (diff) | |
download | redis-e0cd3ad0de0bf2fe6ea0227e5ad7a0a489688b33.tar.gz |
Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999)
Create new module type enhanced callbacks: mem_usage2, free_effort2, unlink2, copy2.
These will be given a context point from which the module can obtain the key name and database id.
In addition the digest and defrag context can now be used to obtain the key name and database id.
Diffstat (limited to 'runtest-moduleapi')
-rwxr-xr-x | runtest-moduleapi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest-moduleapi b/runtest-moduleapi index 11d496a27..a9b6e50c7 100755 --- a/runtest-moduleapi +++ b/runtest-moduleapi @@ -36,4 +36,5 @@ $TCLSH tests/test_helper.tcl \ --single unit/moduleapi/hash \ --single unit/moduleapi/zset \ --single unit/moduleapi/stream \ +--single unit/moduleapi/datatype2 \ "${@}" |