db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DERBY-6419) Make BTree scan honor OPENMODE_LOCK_NOWAIT for row locks.
Date Fri, 06 Dec 2013 01:07:35 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840764#comment-13840764
] 

Dag H. Wanvik edited comment on DERBY-6419 at 12/6/13 1:06 AM:
---------------------------------------------------------------

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 UniqueConstraintMultiThreadedTest, which
exposed the issue when we run the regressions with default deferrable
by default (see DERBY-532).



was (Author: dagw):
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)

Mime
View raw message