Steve Singer ssinger at ca.afilias.info
Fri Aug 6 13:56:29 PDT 2010
This set of patches tries to address bugs 139 and 132.

It changes the way we use signal handlers in slon.

-The signal handlers are now installed AFTER the fork() instead of 
before so the worker process should not have them installed
-The signal handler no longer calls slon_log() since slon_log makes 
calls to non async safe functions
-I get rid of the business with the alarm.  When the watchdog slon 
decides it needs to kill the worker it just does it
-If a nodelock can't be obtained the worker will sleep then try again 
instead of exiting.  Instances of when the worker tries to do this 
before the old pg backend dies were common in my testing




-- 
Steve Singer
Afilias Canada
Data Services Developer
416-673-1142
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-usage-of-alarm-for-restarting-slon-with-a-KI.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-patches/attachments/20100806/f375b79f/attachment.bin 


More information about the Slony1-patches mailing list