rfuchs left a comment (kamailio/kamailio#4809)
> I like the approach with the load in background, copy and then remove the old
> data when not in use anymore. A similar approach is used e.g. for the
> carrierroute module since many years:
> [link](https://github.com/kamailio/kamailio/blob/c71db9dfd384c4c6dabcee70168627c782144b6e/src/modules/carrierroute/cr_data.c#L175)
> It works reliable in high load situation with a much larger data set.
This actually also looks a bit racy to me 😄 without atomic access of the global
pointer and the refcount
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4809#issuecomment-4916085637
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4809/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!