Hi,
On Oct 22, 2022, 00:09 +0800, Maxim Orlov <orlovmg@gmail.com>, wrote:
Done! Thanks! Here is the rebased version.
This version has bug fix for multixact replication. Previous versions of the patch set does not write pd_multi_base in WAL. Thus, this field was set to 0 upon WAL reply on replica.
This caused replica to panic. Fix this by adding pd_multi_base of a page into WAL. Appropriate tap test is added.
Also, add refactoring and improvements in heapam.c in order to reduce diff and make it more "tidy".
Reviews and opinions are very welcome!
--
Best regards,
Maxim Orlov.
Found some outdate code comments around several variables, such as xidWrapLimit/xidWarnLimit/xidStopLimt.
These variables are not used any more.
I attach an additional V48-0009 patch as they are just comments, apply it if you want to.