db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Thalamati <tsur...@Source-Zone.org>
Subject [PATCH] fix for derby-94 update locks are not being release on lock escalation.
Date Wed, 22 Dec 2004 22:38:38 GMT

Problem:
Container group level locks were not getting released when lock is
escalated to table level exclusive lock. Locks were not getting released
even on commit/close of cursor   because once escalation process
acquires table level X lock successfully, container group lock policy is
set as NO-LOCKING state.

Fix:
Attached Fix releases the container group level locks before setting
lock policy to  NO LOCKING mode when a table level X lock is acquired
because of escalation.

-suresh






Mime
View raw message