0

I've installed stablest redis(ver 3.2). Everything work fine until I renamed CONFIG command of redis, sentinel could not promote slave to be master. Think the problem is sentinel still use CONFIG command (has been renamed) to change configuration of redis. Is there any way to change configuration of sentinel (via redis-cli or configuration files sentinel.conf) to adapt redis configuration (renamed config command). If there isn't, how about changing source code?

Thanks

Quyen Le
  • 1
  • 2

1 Answers1

0

After google, I found solution for this problem. I replace redis/src/sentinel.c via this redis github, rebuild and install redis from source.
Then I could add a directive to sentinel.conf to configure sentinel use renamed config command.

sentinel config-command mymaster <renamed-command>
Quyen Le
  • 1
  • 2