Bug 342 - failover skips preFailover on non failover targets
Summary: failover skips preFailover on non failover targets
Alias: None
Product: Slony-I
Classification: Unclassified
Component: slonik (show other bugs)
Version: devel
Hardware: PC Linux
: low enhancement
Assignee: Slony Bugs List
Depends on:
Reported: 2014-05-11 18:34 UTC by Steve Singer
Modified: 2014-07-30 12:10 UTC (History)
1 user (show)

See Also:

proposed patch (7.61 KB, patch)
2014-05-11 18:43 UTC, Steve Singer

Note You need to log in before you can comment on or make changes to this bug.
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.