serverLog(LL_WARNING,"AOF was enabled but there is already a child process saving an RDB file on disk. An AOF background was scheduled to start when possible.");
serverLog(LL_WARNING,"AOF was enabled but there is already another background operation. An AOF background was scheduled to start when possible.");
}else{
}else{
/* If there is a pending AOF rewrite, we need to switch it off and
/* If there is a pending AOF rewrite, we need to switch it off and
* start a new one: the old one cannot be reused because it is not
* start a new one: the old one cannot be reused because it is not
serverLog(LL_WARNING,"Unexpected end of file reading the append only file. You can: 1) Make a backup of your AOF file, then use ./redis-check-aof --fix <filename>. 2) Alternatively you can set the 'aof-load-truncated' configuration option to yes and restart the server.");
serverLog(LL_WARNING,"Unexpected end of file reading the append only file. You can: 1) Make a backup of your AOF file, then use ./redis-check-aof --fix <filename>. 2) Alternatively you can set the 'aof-load-truncated' configuration option to yes and restart the server.");
serverLog(LL_WARNING,"WARNING: the new maxmemory value set via CONFIG SET is smaller than the current memory usage. This will result in key eviction and/or the inability to accept new write commands depending on the maxmemory-policy.");
serverLog(LL_WARNING,"WARNING: the new maxmemory value set via CONFIG SET is smaller than the current memory usage. This will result in key eviction and/or the inability to accept new write commands depending on the maxmemory-policy.");
createBoolConfig("cluster-replica-no-failover","cluster-slave-no-failover",MODIFIABLE_CONFIG,server.cluster_slave_no_failover,0,NULL,NULL),/* Failover by default. */
createIntConfig("cluster-replica-validity-factor","cluster-slave-validity-factor",MODIFIABLE_CONFIG,0,INT_MAX,server.cluster_slave_validity_factor,10,INTEGER_CONFIG,NULL,NULL),/* Slave max data age factor. */
createIntConfig("active-defrag-cycle-min",NULL,MODIFIABLE_CONFIG,1,99,server.active_defrag_cycle_min,1,INTEGER_CONFIG,NULL,NULL),/* Default: 1% CPU min (at lower threshold) */
createIntConfig("active-defrag-cycle-max",NULL,MODIFIABLE_CONFIG,1,99,server.active_defrag_cycle_max,25,INTEGER_CONFIG,NULL,NULL),/* Default: 25% CPU max (at upper threshold) */
createIntConfig("active-defrag-threshold-lower",NULL,MODIFIABLE_CONFIG,0,1000,server.active_defrag_threshold_lower,10,INTEGER_CONFIG,NULL,NULL),/* Default: don't defrag when fragmentation is below 10% */
createIntConfig("active-defrag-threshold-upper",NULL,MODIFIABLE_CONFIG,0,1000,server.active_defrag_threshold_upper,100,INTEGER_CONFIG,NULL,NULL),/* Default: maximum defrag force at 100% fragmentation */
createULongConfig("active-defrag-max-scan-fields",NULL,MODIFIABLE_CONFIG,1,LONG_MAX,server.active_defrag_max_scan_fields,1000,INTEGER_CONFIG,NULL,NULL),/* Default: keys with more than 1000 fields will be processed separately */
"SDSLEN <key> -- Show low level SDS string info representing key and value.",
"SDSLEN <key> -- Show low level SDS string info representing key and value.",
"SEGFAULT -- Crash the server with sigsegv.",
"SEGFAULT -- Crash the server with sigsegv.",
"SET-ACTIVE-EXPIRE <0|1> -- Setting it to 0 disables expiring keys in background when they are not accessed (otherwise the Redis behavior). Setting it to 1 reenables back the default.",
"SET-ACTIVE-EXPIRE <0|1> -- Setting it to 0 disables expiring keys in background when they are not accessed (otherwise the Redis behavior). Setting it to 1 reenables back the default.",
"AOF-FLUSH-SLEEP <microsec> -- Server will sleep before flushing the AOF, this is used for testing",
"SLEEP <seconds> -- Stop the server for <seconds>. Decimals allowed.",
"SLEEP <seconds> -- Stop the server for <seconds>. Decimals allowed.",
"STRUCTSIZE -- Return the size of different Redis core C structures.",
"STRUCTSIZE -- Return the size of different Redis core C structures.",
"ZIPLIST <key> -- Show low level info about the ziplist encoding.",
"ZIPLIST <key> -- Show low level info about the ziplist encoding.",
"STRINGMATCH-TEST -- Run a fuzz tester against the stringmatchlen() function.",
"STRINGMATCH-TEST -- Run a fuzz tester against the stringmatchlen() function.",
#ifdef USE_JEMALLOC
"MALLCTL <key> [<val>] -- Get or set a malloc tunning integer.",
"MALLCTL-STR <key> [<val>] -- Get or set a malloc tunning string.",