public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kyotaro Horiguchi <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Subject: Re: pg_rewind does not rewind diverging timelines
Date: Tue, 02 Jun 2026 14:29:18 +0900 (JST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <SY7PR01MB10921F0B09B693C8D5149880EB6152@SY7PR01MB10921.ausprd01.prod.outlook.com>
	<[email protected]>
	<[email protected]>

At Tue, 2 Jun 2026 04:13:45 +0200, Mats Kindahl <[email protected]> wrote in 
> If two servers go through the same sequence, e.g., start at the same
> timeline, does a promote, and write same length but different data
> (e.g., add a line to a table, but with different contents), they might
> end up with same TLI, same LSN, but different pg_promote calls, and
> different database contents, hence it is not possible to distinguish
> them.

Thanks for the explanation.

When I described UUIDs as somewhat heavyweight, I was thinking less
about the runtime overhead and more about operational convenience for
humans. Your clarification that the UUID only lives in the timeline
history file addresses most of the implementation concerns I had in
mind.

My earlier suggestion was based on the assumption that two independent
histories ending up with the same TLI and switchpoint LSN would be
rare enough to be ignored in practice. If the goal is to rule out that
possibility entirely rather than merely make it extremely unlikely,
then I can see why some additional identifier would be needed.

In that context, a UUID certainly seems like a viable option.

Regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center






view thread (17+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: pg_rewind does not rewind diverging timelines
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox