mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
Because the metadata was not locked, it could be updated concurrently such that we wouldn't actually have the tail block. The current ordering works better, as we still only start XLogBeginInsert() once we have all potentially interesting buffers loaded in memory, but still have correct lock lifetimes. See also: access/transam/README section Write-Ahead Log Coding