Revision: 3830
http://openser.svn.sourceforge.net/openser/?rev=3830&view=rev
Author: bogdan_iancu
Date: 2008-03-03 07:22:11 -0800 (Mon, 03 Mar 2008)
Log Message:
-----------
backport from trunk (rev #3723 + #3828 + #3829):
- fixed critical bug - DB operations do not have any feedback on the contact
state, so DB data may be lost during short DB outages.
The temporary lost of lost DB connectivity leads to lost of contacts in DB:
if DB insert or update fails, the contact will be anyhow marked as SYNC and
never again inserted or updated to DB.
This applies for both modes WRITE_THROUGH and WRITE_BACK. The fix extends
theWRITE_THROUGH mode - if the realtime insert/update fails, the contact will
be handled on timer, as in WRITE_BACK mode - the DB op will retry till success.
Delete operations do not provide feedback as a failed delete is not
considered critical (no data is lost).
Revision Links:
--------------
http://openser.svn.sourceforge.net/openser/?rev=3723&view=rev
Modified Paths:
--------------
branches/1.3/modules/usrloc/ucontact.c
branches/1.3/modules/usrloc/urecord.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel