db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4918) Minor refactoring of SPSDescriptor
Date Thu, 25 Nov 2010 10:51:13 GMT
Minor refactoring of SPSDescriptor
----------------------------------

                 Key: DERBY-4918
                 URL: https://issues.apache.org/jira/browse/DERBY-4918
             Project: Derby
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 10.8.0.0
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan
            Priority: Minor


The class SPSDescriptor is kind of hard to understand, and doesn't quite follow the pattern
used by other tuple descriptors. Parts of the code don't agree with the documentation (i.e.
SPS_TYPE_TRIGGER marked as not implemented)
This issue tracks work to make the class easier to understand and to modify.
The critical part that may need to be changed is the use of synchronized (this). The problem
is that database locks are obtained within the critical regions, and in some special cases
this causes deadlocks. I'm not yet certain this can be fixed at this level (only), but I'll
continue investigation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message