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

See Also:


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

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.