Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-15 Thread Markus Bönke
Thanks for the answers. Maybe we need to add some additional trace logs in the code in one of the next versions ... > Am 09.11.2022 um 23:53 schrieb Seven Du >: > > We have the same problem like 1 ~ 2 times a year with some version between > 5.4 and 5.5.2, we

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Seven Du
We have the same problem like 1 ~ 2 times a year with some version between 5.4 and 5.5.2, we didn't try the latest yet, and we didn't find a way to reproduce it yet. On Wed, Nov 9, 2022 at 11:24 PM Kaufman wrote: > I encountered a similar problem and I believe that the issues wass with >

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Kaufman
I encountered a similar problem and I believe that the issues wass with something causing an inconsistent state where kamailio was attempting to UPDATE a row that doesn't exist.. Try setting db_check_update to 1. Kaufman -Original Message- From: sr-users On Behalf Of Markus Bönke

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Alex Balashov
Yes, I have experienced this as well. > On Nov 9, 2022, at 6:00 AM, Markus Bönke wrote: > > > Hello NG, > > we are using Kamailio 5.4.2 with the USRLOC module configured with db_mode 2 > (Write-Back scheme). The database is Postgres 11. Sometimes some records are > not written to the

[SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Markus Bönke
Hello NG, we are using Kamailio 5.4.2 with the USRLOC module configured with db_mode 2 (Write-Back scheme). The database is Postgres 11. Sometimes some records are not written to the database, however I can lookup them by "kamcmd ul.lookup ..." . There are no database errors (like constraint