mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 22:11:33 +00:00
Defrag: don't crash when a module value is encountered.
This commit is contained in:
@ -406,6 +406,9 @@ int defragKey(redisDb *db, dictEntry *de) {
|
||||
} else {
|
||||
serverPanic("Unknown hash encoding");
|
||||
}
|
||||
} else if (ob->type == OBJ_MODULE) {
|
||||
/* Currently defragmenting modules private data types
|
||||
* is not supported. */
|
||||
} else {
|
||||
serverPanic("Unknown object type");
|
||||
}
|
||||
|
Reference in New Issue
Block a user