Re: create_index test fails when synchronous_commit = off @ master

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: create_index test fails when synchronous_commit = off @ master
Date: 2022-02-28 13:31:59
Message-ID: CAJ7c6TMFWonSzghMR3vnTpcfMqW2P2=jyL82YVSHDnbFT9-cuQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andres,

> So it might be reasonable to use synchronous_commit=on in test_setup.sql?

> It's not super satisfying, but I don't immediately see what else could prevent
> all-visible to be set in this case?

I don't see what else can be done either. Here is the corresponding patch.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
fix-flacky-tests.patch application/octet-stream 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2022-02-28 14:01:10 definition of CalculateMaxmumSafeLSN
Previous Message Amit Kapila 2022-02-28 13:19:03 Re: Add the replication origin name and commit-LSN to logical replication worker errcontext