Re: [HACKERS] lmgr changed

From: Vadim Mikheev <vadim(at)krasnet(dot)ru>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL Developers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] lmgr changed
Date: 1999-05-14 12:37:56
Message-ID: 373C1924.35A5D40E@krasnet.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 1999-05-14 13:28:06 configure --with-xxxx problem
Previous Message Chris Bitmead 1999-05-14 12:34:15 ADD COLUMN