Re: Replication identifiers, take 4

From: Petr Jelinek <petr(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Steve Singer <steve(at)ssinger(dot)info>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>
Subject: Re: Replication identifiers, take 4
Date: 2015-04-08 12:24:53
Message-ID: 55251E15.6030704@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/04/15 14:22, Andres Freund wrote:
> On 2015-04-08 14:17:04 +0200, Petr Jelinek wrote:
>> And you guys are not getting my point. What I proposed was to not reuse the
>> RI id immediately because that can make debugging issues with
>> replication/conflict handling harder when something happens after cluster
>> configuration has changed.
>
> If that's the goal, you shouldn't delete the replication identifier at
> that point. That's the only sane way preventing it from being reused.
>

Ok, I am happy with that solution.

--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2015-04-08 12:29:26 Re: Re: File count restriction of directory limits number of relations inside a database.
Previous Message Andres Freund 2015-04-08 12:22:29 Re: Replication identifiers, take 4