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

From Bruce Momjian
Subject Re: [HACKERS] lmgr changed
Date
Msg-id 199905141203.IAA28128@candle.pha.pa.us
Whole thread Raw
In response to lmgr changed  (Vadim Mikheev <vadim@krasnet.ru>)
List pgsql-hackers
> Hi!
> 
> Changes:
> 
> 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.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] lmgr changed
Next
From: Bernard Frankpitt
Date:
Subject: Re: [HACKERS] System Catalogs