0

Because of the security concerns I had to rename DEL command on all of the 3 Redis Sentinel nodes. Master is able to expire its keys and remove them off the memory. However Slaves are not able to remove the keys. Eventually memory gets maxed up and node becomes unstable.

I checked the redis.log file:

== CRITICAL == This replica is sending an error to its master: 'unknown command DEL, with args beginning with: test-11146, ' after processing the command ''

When I comment out renaming the DEL command on redis.conf file, things get back to working again. I think this issue has been around for a while as I came across a few Google Searches with similar context.

rename-command PEXPIRE WF4RSp2s3a
rename-command DEL m6T1V5Fn1a
rename-command CONFIG 3Zg871qH1a

I would appreciate if someone can point me in the right direction.

  • Are you setting this renames on sentinels or on the redis hosts? What version of Redis? I am able to get this working fine on 5.0.5. Is the error also from the redis replica? – Ryan Jun 20 '19 at 15:36
  • Hello :Ryan. I have 5.0.3 on the test server and 5.0.5 on the production server. The issue exists on both systems.Renames are done on redis.conf and sentinel conf. The error messages only reported on the SLAVE servers. – Erdogan Gulsoy Jun 24 '19 at 08:59

0 Answers0