Based on your feedback, I’ve updated the patch with additional comments. 1. Explain the two cases when writing to the control file, and 2. a bit more emphasis on unloggedLSNs not being valid after a crash.
Thanks to y’all. * John
v2-0001-Use-atomic-ops-for-unloggedLSNs.patch
Description: v2-0001-Use-atomic-ops-for-unloggedLSNs.patch