BUG #7572: virtualxid lock held by bgwriter on promoted slaves

Поиск
Список
Период
Сортировка
От daniele.varrazzo@gmail.com
Тема BUG #7572: virtualxid lock held by bgwriter on promoted slaves
Дата
Msg-id E1TGzEU-0005zV-JC@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7572: virtualxid lock held by bgwriter on promoted slaves  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7572
Logged by:          Daniele Varrazzo
Email address:      daniele.varrazzo@gmail.com
PostgreSQL version: 9.1.4
Operating system:   Linux
Description:        =


Hello,

when a slave is promoted, the pgwriter keeps holding a lock with virtualxid
"1/1" and virtualtransaction "-1/0". Such lock stops pg_reorg to run (as
reported here:
http://pgfoundry.org/tracker/index.php?func=3Ddetail&aid=3D1011203&group_id=
=3D1000411&atid=3D1376)
but I've verified the same condition on 9.1.4).

Is it possible to free that lock on slave promotion?

Is it safe to ignore that lock for pg_reorg sake? The program is which is
probably waiting for all the transactions to finish before swapping the
table in the system catalog but I'm not sure about that yet.

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

Предыдущее
От: radovan.jablonovsky@replicon.com
Дата:
Сообщение: BUG #7571: Query high memory usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7570: WHERE .. IN bug from 9.2.0 not fixed in 9.2.1