pgsql: Fix test failure caused by commit 76b78721ca.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Fix test failure caused by commit 76b78721ca.
Дата
Msg-id E1vO6Ks-001RGo-1D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix test failure caused by commit 76b78721ca.

The test failed because it assumed that a newly created logical
replication slot could be synced to the standby by the slotsync worker.
However, the presence of an existing physical slot caused the new logical
slot to use a non-latest xmin. On the standby, the DDL had already been
replayed, advancing xmin, which led to the slotsync worker failing to sync
the lagging logical slot.

To resolve this, we moved the slot sync statistics tests to run after the
tests that do not require the newly created slot to be sync-ready.

As per buildfarm.

Author: Hou Zhijie <houzj.fnst@fujitsu.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/OSCPR01MB14966FE0BFB6C212298BFFEDEF5D1A@OSCPR01MB14966.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e3e787ca023449127ac370e13a3887fe03eed0f4

Modified Files
--------------
.../recovery/t/040_standby_failover_slots_sync.pl  | 128 +++++++++++----------
1 file changed, 70 insertions(+), 58 deletions(-)


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