Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 47254 invoked from network); 20 Apr 2006 14:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2006 14:42:43 -0000 Received: (qmail 48633 invoked by uid 500); 20 Apr 2006 14:42:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48601 invoked by uid 500); 20 Apr 2006 14:42:31 -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 48592 invoked by uid 99); 20 Apr 2006 14:42:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 07:42:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.43] (HELO brmea-mail-2.sun.com) (192.18.98.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 07:42:31 -0700 Received: from phys-gadget-1 ([129.156.85.171]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id k3KEg393007188 for ; Thu, 20 Apr 2006 08:42:10 -0600 (MDT) Received: from conversion-daemon.gadget-mail1.uk.sun.com by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IY000701ZG88H@gadget-mail1.uk.sun.com> (original mail from John.Embretsen@Sun.COM) for derby-dev@db.apache.org; Thu, 20 Apr 2006 15:42:04 +0100 (BST) Received: from [129.159.112.236] (khepri24.Norway.Sun.COM [129.159.112.236]) by gadget-mail1.uk.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPA id <0IY0007MNZI39T@gadget-mail1.uk.sun.com> for derby-dev@db.apache.org; Thu, 20 Apr 2006 15:42:04 +0100 (BST) Date: Thu, 20 Apr 2006 16:38:57 +0200 From: John Embretsen Subject: Re: [jira] Commented: (DERBY-51) Need NetworkServerControl shutdown API method that does not shutdown derby embedded In-reply-to: <44466923.9050603@sbcglobal.net> To: derby-dev@db.apache.org Message-id: <44479D01.8000505@Sun.COM> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5 (X11/20060113) References: <583728.1145435658129.JavaMail.jira@brutus> <44466923.9050603@sbcglobal.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kathey Marsden wrote: > John H. Embretsen (JIRA) wrote: > >> Kathey Marsden commented: >>> I don't think the default behaviour for the API shutdown can be changed at this point. >>> >>> >> Why is that? >> >> >> > My thinking was that users may be dependent on the existing behavour, > but if it is documented that way ... > >> Specifically, I found the following statement in the admin guide, http://db.apache.org/derby/docs/dev/adminguide/tadminconfigshuttingdownthenetworkserver.html, for trunk: >> >> >> > I am less convinced that it can't be changed. The alternate approach to > the one I proposed would be: > > 1) Leave DERBY-51 open as is. > 2) Log a bug that network server does not shutdown databases properly > when network server is shutdown. > 3) Determine what the behaviour is/should be when embedded is shutdown > or network server is shutdown if Network Server was started with the > derby.drda.startNetworkServer property. > > This approach poses some risk to applications that might have been > relying on the bug (2) but it could be mitigated since we document it > this way and doing this way makes sense. Proper notification in the > Release Notes would be required and we probably should give early > notification to the user base. > > How should we proceed? Well, I think your alternate approach makes more sense, but I don't have very strong feelings about it. Either way, I believe having the same default behavior for the CLI (command line interface) and the API is a positive thing. Not having the CLI shut down Derby when the network server is shut down (via the CLI) does not make much sense to me... However, other people on the list seem to like your first suggestion, so I understand if that is what we end up with. -- John