Subject | Re: [firebird-support] What to do with old, active (unresolved, hanging) transactions? |
---|---|
Author | Ann W. Harrison |
Post date | 2007-10-26T16:35:29Z |
vincent_kwinsey wrote:
free. Deadlocks in applications happen, but the pages in the cache
should not cause deadlocks.
to a client that has an active connection, or they're committed,
rolled back, or in limbo. The latter happens only when you've got
two or more databases active in the same transaction and a very
unfortunate termination in the middle of a two-phase commit.
User transactions and their states should have no effect on internal
data structure conflicts, which are what the two messages above
indicate.
all active transactions in that connection are rolled back.
Ann
> Hi,Those errors are on internal structures - which should be deadlock
>
> I am experiencing the following error messages:
> page type 5 lock conversion denied (215)
> page type 5 lock denied (216)
free. Deadlocks in applications happen, but the pages in the cache
should not cause deadlocks.
> and there are frequent deadlock errors in application. I guess, thatTransactions can't be "unresolved" - they're either active and belong
> application is leaving many transactions in unresolved state (not
> committed, not rollbacked) and any deadlock only increase amount of
> unresolved transactions, and hence - the amount of locks on records.
to a client that has an active connection, or they're committed,
rolled back, or in limbo. The latter happens only when you've got
two or more databases active in the same transaction and a very
unfortunate termination in the middle of a two-phase commit.
User transactions and their states should have no effect on internal
data structure conflicts, which are what the two messages above
indicate.
>When a connection ends or the program that created the connection ends,
> So - my question is - what happens with these transactions and locks?
> Are they remaining on database forever? A operations guide provide
> information that backup/restore and gfix can recover transactions 'in
> limbo' - but these are for two-phase commit.
all active transactions in that connection are rolled back.
>Regards,
Ann