On 30 June 2011 17:25, Bogdan-Andrei Iancu <[email protected]> wrote: > Revision: 8105 > http://opensips.svn.sourceforge.net/opensips/?rev=8105&view=rev > Author: bogdan_iancu > Date: 2011-06-30 16:25:18 +0000 (Thu, 30 Jun 2011) > > Log Message: > ----------- > - fixed race between UPDATE and DELETE when using DB_ONLY mode (one processe > can update a record, while timer proc tries to delete it). The result is > loosing contacts from database. The fix is to use REPLACE (if available on DB > level) instead of UPDATE (as records may be missing). > Based on an original idea from patch #2969454; Credits go to Stanislaw > Pitucha
I think a bit too much stuff was stripped. Now the old db schema is used without any control from the user. That means there's no unique key to generate the conflict (update/replace happens only on key collision) on insert and no way to turn off the "atomic" updates from the config if you want the old schema... Unless it's properly documented in the manual it might cause some really bizarre situations for people using DB_ONLY. -- KTHXBYE, Stanisław Pitucha _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
