Re: [HACKERS] lmgr changed - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] lmgr changed
Date
Msg-id 373C1924.35A5D40E@krasnet.ru
Whole thread Raw
List pgsql-hackers
Bruce Momjian wrote:
> 
> > 1. Check for other waiters is moved from LockResolveConflict
> >    to LockAquire.
> > 2. Don't take other waiters into account if either lock
> >    aquired by MyProc don't conflict with locks aquired by
> >    waiters or MyProc already holds conflicting lock.
> > 3. ProcSleep uses conflict table to order waiters. Priority
> >    not used.
> > 4. ProcLockWakeup stops attempts to wakeup waiters if lock
> >    conflict found _and_ someone was already wakeuped.
> > 5. DeadLockCheck is able to wakeup MyProc or other proc
> >    to prevent deadlock.
> >
> > Below are tests I run. Hope that lmgr issues are closed.
> 
> Thanks Vadim.  I don't think I could have made those changes myself.

I should took locking into account before beta!
Sorry.

Vadim


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: ADD COLUMN
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] lmgr changed