[sr-dev] [kamailio/kamailio] permissions: implement lock for trusted hash (PR #2910)

Daniel-Constantin Mierla notifications at github.com
Mon Nov 1 09:00:57 CET 2021


I am not using permissions with trusted table, but it looks like now it's going to be no parallel use of the in-memory table. It's safe against reloads done quickly one after the other, but all kamailio processes that do permissions check wait one after the other always.

If one ensures the reloads are not triggered quickly one after the other, then the patch is slowing down, specially if the number of records is high. An option would be to add a mod param to enable this lock or not at startup.

Anyhow, as I said, I am not using this feature, so I can't evaluate the impact. Maybe @juha-h can comment if he uses this feature, or some other devs.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2910#issuecomment-956012525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211101/e0870f20/attachment.htm>


More information about the sr-dev mailing list