Skip to content

Fix: Use the reject filter to exclude the "DO" line for multi-slot mode

Vitaliy Kukharik requested to merge fix-multiple-slot-loop into master

Issue: production#18049 (comment 1932176371)

Use the reject filter to exclude the "DO" line for multi-slot mode instead of the 'when' condition to ensure the sequence of the 'idx' index variable.

Fixed:

Jun 03 01:29:59 TASK [upgrade : (SOURCE) Create a publications for logical replication] ********
Jun 03 01:29:59 changed: [patroni-main-v14-03-db-gprd.c.gitlab-production.internal] => (item=logical_replication_02)
Jun 03 01:30:17 changed: [patroni-main-v14-03-db-gprd.c.gitlab-production.internal] => (item=logical_replication_03)
Jun 03 01:30:23 changed: [patroni-main-v14-03-db-gprd.c.gitlab-production.internal] => (item=logical_replication_04)
Jun 03 01:30:31 changed: [patroni-main-v14-03-db-gprd.c.gitlab-production.internal] => (item=logical_replication_05)
2024-06-03 01:36:48.530 UTC,,,2104834,,665d1e30.201e02,2,,2024-06-03 01:36:48 UTC,11/0,0,ERROR,08P01,"could not receive data from WAL stream: ERROR:  publication ""logical_replication_01"" does not exist

Merge request reports