Re: Issues with Quorum Commit - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Issues with Quorum Commit
Date
Msg-id m2wrptdumk.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Issues with Quorum Commit  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers
Greg Smith <greg@2ndquadrant.com> writes:
[…]
> I don't see this as needing any implementation any more complicated than the
> usual way such timeouts are handled.  Note how long you've been trying to
> reach the standby.  Default to -1 for forever.  And if you hit the timeout,
> mark the standby as degraded and force them to do a proper resync when they
> disconnect.  Once that's done, then they can re-enter sync rep mode again,
> via the same process a new node would have done so.

Thank you for this post, which is so much better than anything I could
achieve.

Just wanted to add that it should be possible in lots of cases to have a
standby rejoin the party without getting as far back as taking a new
base backup. Depends on wal_keep_segments and standby's degraded state,
among other parameters (archives, etc).

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: proposal: plpgsql, solution for derivated types of parameters
Next
From: Dimitri Fontaine
Date:
Subject: Re: leaky views, yet again