forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd4ab6f

Amit Kapila
Fix the check to limit sync workers.
We don't allow to invoke more sync workers once we have reached the syncworker limit per subscription. But the check to enforce this also doesn'tallow to launch an apply worker if it gets restarted.This code was introduced by commitde43897 but we caught the problemonly with the test added by recent commitc91f71b which started failingoccasionally in the buildfarm.As per buildfarm.Diagnosed-by: Amit Kapila, Masahiko Sawada, Tomas VondraAuthor: Amit KapilaBackpatch-through: 10Discussion:https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.comhttps://postgr.es/m/f90d2b03-4462-ce95-a524-d91464e797c8@enterprisedb.com1 parent587de22 commitdd4ab6f
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
344 | 344 |
| |
345 | 345 |
| |
346 | 346 |
| |
347 |
| - | |
348 |
| - | |
349 |
| - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
350 | 350 |
| |
351 |
| - | |
| 351 | + | |
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
|
0 commit comments
Comments
(0)