Re: POC and rebased patch for CSN based snapshots

From: "movead(dot)li(at)highgo(dot)ca" <movead(dot)li(at)highgo(dot)ca>
To: "Andrey V(dot) Lepikhov" <a(dot)lepikhov(at)postgrespro(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Amit Kapila" <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: POC and rebased patch for CSN based snapshots
Date: 2020-08-10 01:52:59
Message-ID: 2020081009525213277261@highgo.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I find an issue with snapshot switch part of last patch, the xmin_for_csn value is
wrong in TransactionIdGetCSN() function. I try to hold xmin_for_csn in pg_control
and add a UnclearCSN statue for transactionid. And new patches attached.

Regards,
Highgo Software (Canada/China/Pakistan)
URL : www.highgo.ca
EMAIL: mailto:movead(dot)li(at)highgo(dot)ca

Attachment Content-Type Size
0004-globale-snapshot-infrastructure.patch application/octet-stream 33.2 KB
0001-CSN-base-snapshot.patch application/octet-stream 47.5 KB
0002-Wal-for-csn.patch application/octet-stream 27.7 KB
0003-snapshot-switch.patch application/octet-stream 29.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-08-10 02:24:43 Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly
Previous Message Justin Pryzby 2020-08-09 23:44:23 Re: 回复:how to create index concurrently on partitioned table