pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix the check to limit sync workers.
6+ messages / 1 participants
[nested] [flat]
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/be46985bed8a071a4f7d6016f955f3a71f3b04ca
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/82d4a17a17508a4e6ff9038d81a7dfb9f19e104a
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/a90de822e4834f046b6c640e8a0ea40cd4ddde25
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/59348fbdeb7b4e39c992779232ab47069d272135
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c9dea58e270236a8d256a686f71f6bab960f0b80
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix the check to limit sync workers.
@ 2022-04-19 04:16 Amit Kapila <akapila@postgresql.org>
0 siblings, 0 replies; 6+ messages in thread
From: Amit Kapila @ 2022-04-19 04:16 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the sync
worker limit per subscription. But the check to enforce this also doesn't
allow to launch an apply worker if it gets restarted.
This code was introduced by commit de43897122 but we caught the problem
only with the test added by recent commit c91f71b9dc which started failing
occasionally in the buildfarm.
As per buildfarm.
Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas Vondra
Author: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com
https://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dd4ab6fd6528e160571986fa8817cee9f2645aa8
Modified Files
--------------
src/backend/replication/logical/launcher.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2022-04-19 04:16 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
2022-04-19 04:16 pgsql: Fix the check to limit sync workers. Amit Kapila <akapila@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox