Re: sync_standbys_defined read/write race on startup

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: "Maksim(dot)Melnikov" <m(dot)melnikov(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: sync_standbys_defined read/write race on startup
Date: 2025-03-26 19:48:54
Message-ID: CALdSSPjw8R1UzKKujEdgUyazNYggd1EePwCP4MZHsotK4cKxhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 26 Mar 2025 at 21:18, Maksim.Melnikov <m(dot)melnikov(at)postgrespro(dot)ru> wrote:
>

> So my question is
> can we accept such behavior as bug of postgres codebase, or, on other way, it is bug of unstable test?
> P.S.
> For me it is looking strange, that postgres start processing workload before full config initializing.
> Attached possible patch for codebase.
>
> Best regards
> Melnikov Maksim

We do not tolerate TAP test flaps. Your repro is OK, can we have
deterministic test here using injection point technique?

--
Best regards,
Kirill Reshke

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Devulapalli, Raghuveer 2025-03-26 19:55:22 RE: Improve CRC32C performance on SSE4.2
Previous Message Robert Haas 2025-03-26 19:37:34 Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment