[sr-dev] [ openser-Bugs-2826540 ] Presence DB save fails after one failure

SourceForge.net noreply at sourceforge.net
Tue Nov 10 17:13:41 CET 2009


Bugs item #2826540, was opened at 2009-07-24 14:22
Message generated for change (Comment added) made by axlh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2826540&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Presence DB save fails after one failure

Initial Comment:
After one record has failed to insert/update into the database, remaining records aren't tried.

The attached patch tries to insert/update the remaining records in the hashtable after a failure.

This patch surfaced bug #2824350 which led to a lot of failures due to duplicate keys.

----------------------------------------------------------------------

>Comment By: Alex Hermann (axlh)
Date: 2009-11-10 17:13

Message:
just let the DB update fail in some way. I got a duplicate key error
somehow.

The patch makes sure the remaining entries in the hash table are committed
to the DB even after one record failed.

----------------------------------------------------------------------

Comment By: sathiyapriyan m (sathiyapriyanm)
Date: 2009-10-05 07:08

Message:
How to Repeat or Check the Error? Kindly explain the situation. I have
tried in may ways it works fine in the version 1.5.2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2826540&group_id=139143



More information about the sr-dev mailing list