delete from redis key on delete after failover

13 views
Skip to first unread message

Poi Poy

unread,
Sep 25, 2025, 9:17:25 AM (11 days ago) Sep 25
to Sipwise rtpengine
I have primary/backup rtpengine instances configured to use redis with each using a different keyspace and subscribing to the other. For example:

instance 1:
redis=127.0.0.1:6379/1
redis-write=127.0.0.1:6379/1
subscribe-keyspace=2

instance 2:
redis=127.0.0.1:6379/2
redis-write=127.0.0.1:6379/2
subscribe-keyspace=1

this works and fails over fine. However, if the delete command is issued after the failover the key is not deleted from the foreign keyspace so hangs around.

Is this expected behaviour?

Many thanks

Poi Poy

unread,
Sep 25, 2025, 10:30:00 AM (11 days ago) Sep 25
to Sipwise rtpengine
I checked out an older version of rtpengine 11.5 (Im running 13.4.1.8) and the keys delete fine in that version so it looks like a bug

checking the message to the ng interface, I do see a successful response from rtpengine for the delete but he key does not get removed. 
Reply all
Reply to author
Forward
0 new messages