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:07:35 UTC

[jira] [Comment Edited] (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: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)