Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80697 invoked from network); 3 Mar 2009 11:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 11:03:20 -0000 Received: (qmail 65394 invoked by uid 500); 3 Mar 2009 11:03:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65364 invoked by uid 500); 3 Mar 2009 11:03:19 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 65355 invoked by uid 99); 3 Mar 2009 11:03:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 03:03:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 11:03:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78CC3234C4B5 for ; Tue, 3 Mar 2009 03:02:56 -0800 (PST) Message-ID: <1523407094.1236078176490.JavaMail.jira@brutus> Date: Tue, 3 Mar 2009 03:02:56 -0800 (PST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-4081) BTreeController.comparePreviousRecord() may fail to release latch on left-most leaf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org BTreeController.comparePreviousRecord() may fail to release latch on left-most leaf ----------------------------------------------------------------------------------- Key: DERBY-4081 URL: https://issues.apache.org/jira/browse/DERBY-4081 Project: Derby Issue Type: Bug Components: Store Affects Versions: 10.4.2.0 Reporter: Knut Anders Hatlen If comparePreviousRecord() is called on some other leaf page than the left-most leaf, and all the rows to the left of the current position are deleted so that the position is moved all the way to slot 0 on the left-most leaf, comparePreviousRecord() will return without releasing the latch on the left-most leaf. Only the leaf on which comparePreviousRecord() is called should be latched when the method returns. Since comparePreviousRecord() currently fails to continue after finding a deleted row, this bug is not possible to expose until DERBY-4028 is fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.