Re: Built-in Raft replication

Поиск
Список
Период
Сортировка
От Konstantin Osipov
Тема Re: Built-in Raft replication
Дата
Msg-id Z_-AGO5sQQ03JGNx@ark
обсуждение исходный текст
Ответ на Re: Built-in Raft replication  (Andrey Borodin <x4mmm@yandex-team.ru>)
Список 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 по дате отправления: