mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
Fix race condition in ginHeapTupleFastInsert (#2412)
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
This commit is contained in:
2
vendor/postgres-v14
vendored
2
vendor/postgres-v14
vendored
Submodule vendor/postgres-v14 updated: a4963aa6df...e8518d3fc8
2
vendor/postgres-v15
vendored
2
vendor/postgres-v15
vendored
Submodule vendor/postgres-v15 updated: 26c6466873...313769bb62
Reference in New Issue
Block a user