[sr-dev] [tracker] Task opened: Database and cache inconsistency with registrar module / usrloc

sip-router admin at sip-router.org
Fri Mar 12 15:11:16 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Ronald Voermans (voermans) 

Attached to Project - sip-router
Summary - Database and cache inconsistency with registrar module / usrloc
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

I'm using Kamailio 3.0.0. I'm using the 'location' table to store registered contacts (save("location")), and i'm using db_mode = 1 (from usrloc).

However, currently I have only 13 records in my location table, and 121 registered clients (checked via kamctl ul show --brief). When a client re-registers, I do a save("location") and an UPDATE is sent to MySQL. But there isn't any record to update, so nothing gets updated.

I think that if an update has no matches (ie nothing gets updated), an INSERT must be perfomed in the database, so there is an consistency between the two.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=41

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list