Re: Built-in Raft replication - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: Built-in Raft replication
Date
Msg-id CALdSSPhmEUT+2Wg7SMa3gnOetNiugtbd43pXDmcWJnfZti4LqA@mail.gmail.com
Whole thread Raw
In response to Re: Built-in Raft replication  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: Built-in Raft replication
List pgsql-hackers
On Wed, 16 Apr 2025 at 10:25, Andrey Borodin <x4mmm@yandex-team.ru> wrote:
>
> I think I can provide some reasons why it cannot be neither extension, nor any part running within postmaster reign.
>
> 1. When joining cluster, there’s not PGDATA to run postmaster on top of it.

You can join the cluster on pg_basebackup of its master; So I dont get
why this is an anti-extension restriction.

> 2. After failover, old Primary node must rejoin cluster by running pg_rewind and following timeline switch.

You can run bash from extension, what's the point?

> The system in hand must be able to manipulate with PGDATA without starting Postgres.

--
Best regards,
Kirill Reshke



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Built-in Raft replication
Next
From: Andrey Borodin
Date:
Subject: Re: Built-in Raft replication