Redis CONFIG REWRITE command rewrites the redis.conf file the server was started with, applying minimal changes needed to reflect the configuration currently used by the server. It may be different compared to the original one because of the use of the CONFIG SET command.
Return Value
String reply – OK, when the configuration is rewritten properly. Otherwise, an error is returned.
Syntax
Following is the basic syntax of Redis CONFIG REWRITE command.
redis 127.0.0.1:6379> CONFIG REWRITE parameter
Pingback: Redis - Server - Adglob Infosystem Pvt Ltd
Im grateful for the article. Will read on…