Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 39893 invoked from network); 15 Dec 2005 22:29:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Dec 2005 22:29:12 -0000 Received: (qmail 56758 invoked by uid 500); 15 Dec 2005 22:29:12 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56553 invoked by uid 500); 15 Dec 2005 22:29:09 -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 56534 invoked by uid 99); 15 Dec 2005 22:29:09 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 14:29:07 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 40970126 for ; Thu, 15 Dec 2005 23:28:46 +0100 (CET) Message-ID: <1354622392.1134685726262.JavaMail.jira@ajax.apache.org> Date: Thu, 15 Dec 2005 23:28:46 +0100 (CET) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-758) CachedPage.readPage() can loop forever on insane builds if the read from the container keep failing with IO Exceptions. In-Reply-To: <891233229.1134520725445.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-758?page=all ] Mike Matrigali resolved DERBY-758: ---------------------------------- Fix Version: 10.2.0.0 Resolution: Fixed DERBY-758, fixing I/O retry logic to throw an I/O exception rather than loop forever on I/O read errors. 4 retry's are attempted before giving up. committed as svn 357083 > CachedPage.readPage() can loop forever on insane builds if the read from the container keep failing with IO Exceptions. > ------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-758 > URL: http://issues.apache.org/jira/browse/DERBY-758 > Project: Derby > Type: Bug > Components: Store > Reporter: Suresh Thalamati > Assignee: Mike Matrigali > Fix For: 10.2.0.0 > > org.apache.derby.impl.store.raw.data.CachedPage.readPage() loops forever if read from the container > keeps failing with an IOException. On debug build it marks the system as corrupt , but in non-debug builds > it just keeps retrying to read the page from the disk. > I think that is not good, if a disk fails for some reason when attempting to read a page; Derby will just > hog the cpu and user will not know why. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira