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

From Konstantin Osipov
Subject Re: Built-in Raft replication
Date
Msg-id Z_-AGO5sQQ03JGNx@ark
Whole thread Raw
In response to Re: Built-in Raft replication  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
* Andrey Borodin <x4mmm@yandex-team.ru> [25/04/16 11:06]:
> > You can run bash from extension, what's the point?
> 
> You cannot run bash that will stop backend running bash.

You're right there is a chicken and egg problem when you add 
Raft to an existing project, and rebootstrap 
becomes a trick, but it's a plumbing trick.

The new member needs to generate and persist a globally unique
identifier as the first step. Later it can 
reintroduce itself to the cluster given this identifier
can be preserved in the new incarnation (popen + fork).

-- 
Konstantin Osipov, Moscow, Russia



pgsql-hackers by date:

Previous
From: Konstantin Osipov
Date:
Subject: Re: Built-in Raft replication
Next
From: Maxim Orlov
Date:
Subject: POC: Parallel processing of indexes in autovacuum