Bug 342

Summary: failover skips preFailover on non failover targets
Product: Slony-I Reporter: Steve Singer <ssinger>
Component: slonikAssignee: Slony Bugs List <slony1-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: slony1-bugs
Priority: low    
Version: devel   
Hardware: PC   
OS: Linux   
Attachments: proposed patch

Description Steve Singer 2014-05-11 18:34:48 UTC
As reported on the mailing list thread http://lists.slony.info/pipermail/slony1-general/2014-May/012811.html

Slonik can hang during a failover because a non failover candidate node can be using  a second failed node as its subscription provider.  It should be reconfigured to use one of the remaining nodes as the subscription source but this isn't happening.
Comment 1 Steve Singer 2014-05-11 18:43:32 UTC
Created attachment 202 [details]
proposed patch
Comment 2 Glyn Astill 2014-05-16 09:43:31 UTC
(In reply to comment #1)
> Created an attachment (id=202) [details]
> proposed patch

Tested here and behaves as expected.  Thanks again Steve.