Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30643 invoked from network); 31 May 2005 23:01:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2005 23:01:43 -0000 Received: (qmail 51685 invoked by uid 500); 31 May 2005 23:01:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51658 invoked by uid 500); 31 May 2005 23:01:42 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 51638 invoked by uid 99); 31 May 2005 23:01:42 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.131) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 May 2005 16:01:40 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j4VN1bmD729364 for ; Tue, 31 May 2005 19:01:37 -0400 Received: from [9.72.134.65] (dyn9072134065.usca.ibm.com [9.72.134.65]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j4VN1bRI192274 for ; Tue, 31 May 2005 17:01:37 -0600 Message-ID: <429CECBA.4040804@sbcglobal.net> Date: Tue, 31 May 2005 16:01:14 -0700 From: Mike Matrigali User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: Identifer 200 not registered References: <429CCDF2.2060408@debrunners.com> In-Reply-To: <429CCDF2.2060408@debrunners.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To reproduce this you will need the recovery system to encounter at reboot time the datatype that you are interested in. This takes a reboot of the database, which is usually done in the testing system by having a suite with multiple tests. The first test sets up the database, and then the second test operates on the same database. In this case the first test probably needs an index with a decimal key. Then open a transaction and insert enough rows to be sure that the log records have made it to disk, and then crash the server. I think if you make sure to log more than 64k of data you should be safe. Then crash the server without committing the transaction. This should insure that recovery should see the datatype you are interested in during the undo processing. I think you need undo, as redo is physical so I don't think needs the format identifier to be registered. storerecovery in the suites directory is an example of a recovery test suite. Daniel John Debrunner wrote: > A week or so ago there was some discussion of a problem with recovery > and format identifier 200 not being registered. > > That's a problem with one of my changes and I have a quick fix but was > there a way to reproduce this? I can't remember who had the problem. > > Thanks, > Dan. > >