mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Make active defragmentation tests optional.
They failed when active defrag could not be activated because the Jemalloc version does not include the additional APIs.
This commit is contained in:
@ -1031,9 +1031,10 @@ void configSetCommand(client *c) {
|
||||
if (server.active_defrag_enabled) {
|
||||
server.active_defrag_enabled = 0;
|
||||
addReplyError(c,
|
||||
"Active defragmentation cannot be enabled: it requires a "
|
||||
"Redis server compiled with a modified Jemalloc like the "
|
||||
"one shipped by default with the Redis source distribution");
|
||||
"-DISABLED Active defragmentation cannot be enabled: it "
|
||||
"requires a Redis server compiled with a modified Jemalloc "
|
||||
"like the one shipped by default with the Redis source "
|
||||
"distribution");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user