Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68339 invoked from network); 25 Jan 2008 08:48:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 08:48:58 -0000 Received: (qmail 22066 invoked by uid 500); 25 Jan 2008 08:48:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 22034 invoked by uid 500); 25 Jan 2008 08:48:48 -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 22025 invoked by uid 99); 25 Jan 2008 08:48:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 00:48:48 -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, 25 Jan 2008 08:48:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA9DA714244 for ; Fri, 25 Jan 2008 00:48:36 -0800 (PST) Message-ID: <15474620.1201250916890.JavaMail.jira@brutus> Date: Fri, 25 Jan 2008 00:48:36 -0800 (PST) From: "V.Narayanan (JIRA)" 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 ] V.Narayanan updated DERBY-3205: ------------------------------- Attachment: Socket_Close_Fix_v1.stat Socket_Close_Fix_v1.diff You are right in your observation Jorgen. I have attached a patch here that= adds this new functionality. Pls feel free to use it for the patch you are= working on.=20 > 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, Socket_Close_Fix_v1.diff, Socket_Close_Fix_v1.stat, startSlav= e_1a.diff, startSlave_1a.stat, startSlave_1b.diff, startSlave_1b.stat, star= tSlave_1c.diff, startSlave_1d.diff, StopSlave_impl_3205_NotForCommit_v1.dif= f, StopSlave_impl_3205_NotForCommit_v1.stat, stopSlave_v1a.diff, stopSlave_= v1a.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.