Re: 2-phase commit

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: 2-phase commit
Дата
Msg-id 1064610936.28889.113.camel@jester
обсуждение исходный текст
Ответ на Re: 2-phase commit  (Andrew Sullivan <andrew@libertyrms.info>)
Ответы Re: 2-phase commit  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-hackers
> The first problem is the restart/rejoin problem.  When a 2PC member
> goes away, it is supposed to come back with all its former locks and
> everything in place, so that it can know what to do.  This is also
> extremely tricky, but I think the answer is sort of easy.  A member
> which re-joins without crashing (that is, it has open transactions,

I think you may be confusing 2PC with replication.

PostgreSQLs 2PC implementation should follow enough of the XA rules to
play nice in a mixed environment where something else is managing the
transactions (application servers are becoming more common all the
time).

As far as inter-PostgreSQL replication / queries are concerned we can
choose whatever semantics we like -- just realize that they are 2
different problems.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)