If I haven't overlooked something, it seems to be missing closing db connection on mod_init, which results in inheriting it on children after fork and conflicts during runtime.

Maybe it is better to move it in child_init with rank 1, we discussed a bit about that during K Devs meeting.

Furthermore, I recommend to add a module parameter for being able to disable this check, some other modules do it:

It was working fine without it for many releases and it should keep a way for same behaviour like in the past. Disabling version table check is useful during upgrades, when new database table structure includes the old one, in case of needing to revert the upgrade for a while, running the old version is fine.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3639/c1811931439@github.com>