From derby-dev-return-54202-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Fri Feb 01 14:17:35 2008 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 29102 invoked from network); 1 Feb 2008 14:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 14:17:32 -0000 Received: (qmail 30150 invoked by uid 500); 1 Feb 2008 14:17:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29923 invoked by uid 500); 1 Feb 2008 14:17:23 -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 29914 invoked by uid 99); 1 Feb 2008 14:17:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 06:17:23 -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; Fri, 01 Feb 2008 14:17:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2377A714045 for ; Fri, 1 Feb 2008 06:17:09 -0800 (PST) Message-ID: <10220842.1201875429140.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 06:17:09 -0800 (PST) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3205) Replication: Add connection url command options for starting, stopping slave and for failover In-Reply-To: <20606458.1195128343797.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-3205?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=98ystein Gr=C3=B8vlen updated DERBY-3205: ----------------------------------- Derby Info: (was: [Patch Available]) Thanks, J=C3=B8rgen. Committed stopSlave_v1c.diff as revision 617501. One thing that probably needs correction is the Javadoc of EmbedConnection#= handleStopReplicationSlave which says "this operation will cause SlaveDatab= ase to call internalStopReplicationSlave". This doe not seem to be correct= . I do not understand your comment on 2e. about the TransactionResource neede= d to be cleaned. When you set up a new connection, don't you get a new Tra= nsactionResource? If so, I do not understand why you need to create a new T= ransactionResource just to clean it. > Replication: Add connection url command options for starting, stopping sl= ave and for failover > -------------------------------------------------------------------------= -------------------- > > Key: DERBY-3205 > URL: https://issues.apache.org/jira/browse/DERBY-3205 > Project: Derby > Issue Type: Sub-task > Components: JDBC > Affects Versions: 10.4.0.0 > Reporter: J=C3=B8rgen L=C3=B8land > Assignee: V.Narayanan > Attachments: derby-3205_startslave_dontcommit.diff, derby-3205_st= artslave_dontcommit.stat, failover_impl_3205_NotForCommit_v1.diff, failover= _impl_3205_NotForCommit_v1.stat, failover_impl_3205_v1.diff, failover_impl_= 3205_v1.stat, failover_impl_3205_v2.diff, failover_impl_3205_v2.stat, Socke= t_Close_Fix_v1.diff, Socket_Close_Fix_v1.stat, startSlave_1a.diff, startSla= ve_1a.stat, startSlave_1b.diff, startSlave_1b.stat, startSlave_1c.diff, sta= rtSlave_1d.diff, StopSlave_impl_3205_NotForCommit_v1.diff, StopSlave_impl_3= 205_NotForCommit_v1.stat, stopSlave_v1a.diff, stopSlave_v1a.stat, stopSlave= _v1b.diff, stopSlave_v1b.stat, stopSlave_v1c.diff, stopSlave_v1c.stat > > > Add commands to start and stop the replication slave using properties or = connection url. Example: > 'jdbc:derby:;startSlave=3Dtrue'; > 'jdbc:derby:;stopSlave=3Dtrue'; > 'jdbc:derby:;failover=3Dtrue; > Connection url options that must be recognized: > startSlave=3Dtrue > stopSlave=3Dtrue > failover=3Dtrue > slaveHost=3D (optional, defaults to localhost) (only for startSlave= ) > slavePort=3D (optional, defaults to 8001) (only for startSlave) > See functional specification on Derby-2872 for further details. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.