Hello,
yes – flush is not replicated, delete is replicated.
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Bastian Triller Sent: Monday, July 18, 2022 12:29 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] How to externally trigger htable cache flushing?
Also, htable.flush table isn't replicated via DMQ, IIRC
On Mon, Jul 18, 2022, 11:07 Henning Westerholt <hw@gilawa.commailto:hw@gilawa.com> wrote: Hello,
you can delete keys with RPC commands:
https://kamailio.org/docs/modules/5.5.x/modules/htable.html#htable.rpc.delet...
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com
-----Original Message----- From: sr-users <sr-users-bounces@lists.kamailio.orgmailto:sr-users-bounces@lists.kamailio.org> On Behalf Of Benoit Panizzon Sent: Monday, July 18, 2022 9:45 AM To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> Subject: [SR-Users] How to externally trigger htable cache flushing?
Hi List
We cache stuff like call forwarding information in a htable cache to minimizie SQL lookups and have it available via DMQ on all instances.
But of course, if the call forwarding information for a destination changes in the database, we would like to flush either the whole cache, or even better, that single entry.
What is the best way to do this?
Mit freundlichen Grüssen
-Benoît Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users