pgsql: Fix bug in the new wait-until-lwlock-is-free mechanism.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in the new wait-until-lwlock-is-free mechanism.
Date: 2012-01-30 22:16:38
Message-ID: E1RrzWg-0003NQ-Kv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bug in the new wait-until-lwlock-is-free mechanism.

If there was a wait-until-free process in the head of the wait queue,
followed by an exclusive locker, the exclusive locker was not be woken up
as it should.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/82d4b262d9614958da38003cdc9d56915d9bcda0

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 25 ++++++++++++++++---------
1 files changed, 16 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-01-30 22:20:15 Re: [COMMITTERS] pgsql: Make group commit more effective.
Previous Message Heikki Linnakangas 2012-01-30 21:06:05 Re: [COMMITTERS] pgsql: Make group commit more effective.