Fix random failure in 021_twophase.
Amit Kapila <akapila@postgresql.org>
Fix random failure in 021_twophase. After disabling the subscription, the failed test was changing the two_phase option for the subscription. We can't change the two_phase option for a subscription till the corresponding apply worker is active. The check to ensure that the replication apply worker has exited was incorrect. Author: Vignesh C Discussion: https://postgr.es/m/CALDaNm3YY+bzj+JWJbY+DsUgJ2mPk8OR1ttjVX2cywKr4BUgxw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/subscription/t/021_twophase.pl | modified | +2 −2 |
Discussion
- Slow catchup of 2PC (twophase) transactions on replica in LR 102 messages · 2024-02-22 → 2024-07-30