[sr-dev] [kamailio] event on table location Duplicate entry for key 'ruid_idx' (#30)

Savolainen Dmitri notifications at github.com
Wed Apr 8 18:15:44 CEST 2015


It is match more better after fixing static registration. I have analyzed some remaining "Duplicate entry" errors.  It happens after SQL reconnect at least.
 
1.Try to update via *db_update_ucontact_ruid*
2. Missed SQL connection and getting *usrloc [ucontact.c:1055]: db_update_ucontact_ruid(): updating database failed*. But **record was realy updated**.
3. Reconnect
4. Try to update record again and getting *ul_dbf.affected_rows(ul_dbh)==0*
5. Try to insert and getting "Duplicate entry" every *usrloc:timer_interval* period up to exipre or re-register

Realy, maybe it is not an error

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/30#issuecomment-90963367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150408/38ce1626/attachment.html>


More information about the sr-dev mailing list