On Nov 19, 2013, at 10:29 AM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> It's pretty unlikely that any automated testing would have cought this,
> the required conditions are too unlikely for that.
I would expect that "promote secondary while primary is under heavy load" is clear-cut test case. What concerns me more is that we don't seem to have a framework to put in a regression test on the bug you just found (and thank you for finding it so quickly!).
--
-- Christophe Pettus
xof(at)thebuild(dot)com