git.postgresql.org Git - postgresql.git/commit
2010年11月29日 01:10:56 +0000 (01:10 +0000)
2010年11月29日 01:10:56 +0000 (01:10 +0000)
commit 09425f89e764beabbdd30cc877b3de96f5d3d2b9
Move call to GetTopTransactionId() earlier in LockAcquire(),
removing an infrequently occurring race condition in Hot Standby.
An xid must be assigned before a lock appears in shared memory,
rather than immediately after, else GetRunningTransactionLocks()
may see InvalidTransactionId, causing assertion failures during
lock processing on standby.
Bug report and diagnosis by Fujii Masao, fix by me.
This is the main PostgreSQL git repository.
RSS
Atom