On Tue, Mar 16, 2021 at 3:08 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > Peter Geoghegan <p...@bowt.ie> writes: > > ... It's hard to believe that the problem is > > squarely with _bt_swap_posting(). > > IIUC, the problem is seen on a replica server but not the primary? > In that case, my thoughts would run towards a bug in WAL log creation > or replay, causing the index contents to be different/wrong on the > replica. > Right, observed after the replica Server after it got promoted. The replica is of the same Postgres minor version - 13.1 but, the OS is Ubuntu 16 on Primary and Ubuntu 20 on Replica (that got promoted). Replica was setup using a backup taken using pg_basebackup.
I can share any detail that would help here. > regards, tom lane > -- Regards, Avi