Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 70681 invoked from network); 3 Jan 2008 10:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 10:36:57 -0000 Received: (qmail 65965 invoked by uid 500); 3 Jan 2008 10:36:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65931 invoked by uid 500); 3 Jan 2008 10:36:45 -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 65922 invoked by uid 99); 3 Jan 2008 10:36:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 02:36:45 -0800 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 10:36:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 297BA714187 for ; Thu, 3 Jan 2008 02:36:34 -0800 (PST) Message-ID: <14222731.1199356594166.JavaMail.jira@brutus> Date: Thu, 3 Jan 2008 02:36:34 -0800 (PST) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3184) Replication: Connection attempts to a database in slave mode must fail In-Reply-To: <30645186.1194428330700.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3184?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=98ystein Gr=C3=B8vlen updated DERBY-3184: ----------------------------------- Derby Info: (was: [Patch Available]) Patch, derby-3184-bugfix-1a.diff, looks good. I took the liberty of correc= ting the message text a bit before committing the patch as revision 60841= 9. > Replication: Connection attempts to a database in slave mode must fail > ---------------------------------------------------------------------- > > Key: DERBY-3184 > URL: https://issues.apache.org/jira/browse/DERBY-3184 > Project: Derby > Issue Type: Sub-task > Components: Services > Affects Versions: 10.4.0.0 > Reporter: J=C3=B8rgen L=C3=B8land > Assignee: J=C3=B8rgen L=C3=B8land > Attachments: derby-3184-1.diff, derby-3184-1.stat, derby-3184-bug= fix-1a.diff, derby-3184-bugfix-1a.stat > > > When a database 'X' is booted in slave mode, the call to Monitor.startPe= rsistentService("X",...) will not complete because the call gets stuck in L= ogToFile#recover. This is intentional. > For as long as startPersistentService is blocked, however, other threads = that try to connect to 'X' (effectively calling Monitor.findService("X", ..= .)) will also hang. This is unacceptable, and needs to raise an error. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.