miconda left a comment (kamailio/kamailio#4539)
Trying to understand the architecture of the changes .. on reload, you reuse
the hash table: first you destroy the items on the buckets, keeping the first
one as `dummy`, then insert new items with data loaded from db? It is no new
hash table built in parallel and swapping the pointer to the active hash table.
What is supposed to happen in between 'destroying the items on all buckets' and
'inserting the new items'? If a Kamailio worker needs to match on trusted
table, that is empty for some short time and it fails?
What is the role of the first `dummy` item per bucket?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4539#issuecomment-3739857269
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4539/[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!