You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2013/12/06 02:03:35 UTC

[jira] [Updated] (DERBY-6419) Make BTree scan honor OPENMODE_LOCK_NOWAIT for row locks.

     [ https://issues.apache.org/jira/browse/DERBY-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-6419:
---------------------------------

    Attachment: derby-6419-followup.status
                derby-6419-followup.diff

Uploading a follow-up patch. From my sandbox git commit log:

Only short circuit waiting for lock in BTree scan to check duplicates
for a deferred unique/pk constraint if constraint mode is deferred
(i.e. not if immediate).

Added a test case lifted from UniqueConstraintMultiThrededTest, which
exposed the issue when we run the regressions with default deferrable
by default (see DERBY-532).


> Make BTree scan honor  OPENMODE_LOCK_NOWAIT for row locks.
> ----------------------------------------------------------
>
>                 Key: DERBY-6419
>                 URL: https://issues.apache.org/jira/browse/DERBY-6419
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Store
>            Reporter: Dag H. Wanvik
>         Attachments: derby-6419-1.diff, derby-6419-1.status, derby-6419-followup.diff, derby-6419-followup.status
>
>
> Optimization desirable to support deferred constraints.



--
This message was sent by Atlassian JIRA
(v6.1#6144)