Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 92312 invoked from network); 5 Oct 2007 08:29:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 08:29:54 -0000 Received: (qmail 48912 invoked by uid 500); 5 Oct 2007 08:29:27 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48863 invoked by uid 500); 5 Oct 2007 08:29:27 -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 48845 invoked by uid 99); 5 Oct 2007 08:29:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 01:29:27 -0700 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, 05 Oct 2007 08:12:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 184A6714209 for ; Fri, 5 Oct 2007 01:11:51 -0700 (PDT) Message-ID: <31555601.1191571911077.JavaMail.jira@brutus> Date: Fri, 5 Oct 2007 01:11:51 -0700 (PDT) From: "Ole Solberg (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2872) Add Replication functionality to Derby In-Reply-To: <16039538.1182851726399.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-2872?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532591 ]=20 Ole Solberg commented on DERBY-2872: ------------------------------------ I have experimented with the 'proof-of-concept_v2b' code running several de= rby tests (ij and junit) as "load" against the master server. When running the ....tests.derbynet.PrepareStatementTest I get a '.Somethin= g wrong with the instants!' message and the slave server dies: . . runUserCommand runUserCommandRemotely runTest testBasicPrepare used 340 m= s . startServer@atum02:4527 pDoR ..............................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ....................Something wrong with the instants! startServer@atum02:4527 pDoR (RPlR) Log instant: 2, 410117 startServer@atum02:4527 pDoR (RPlR) ... returned instant: 2, 311861 startServer@atum02:4527 pDoR (RPlR) ... diff: 98256 startServer@atum02:4527 pDoR=20 startServer@atum02:4527 pDoR - - - - - - next log record - - - - - - . . > Add Replication functionality to Derby > -------------------------------------- > > Key: DERBY-2872 > URL: https://issues.apache.org/jira/browse/DERBY-2872 > Project: Derby > Issue Type: New Feature > Components: Miscellaneous > Affects Versions: 10.4.0.0 > Reporter: J=C3=B8rgen L=C3=B8land > Assignee: J=C3=B8rgen L=C3=B8land > Attachments: master_classes_1.pdf, poc_master_v2.diff, poc_master= _v2.stat, poc_master_v2b.diff, poc_slave_v2.diff, poc_slave_v2.stat, poc_sl= ave_v2b.diff, proof-of-concept_v2b-howto.txt, proof_of_concept_master.diff,= proof_of_concept_master.stat, proof_of_concept_slave.diff, proof_of_concep= t_slave.stat, replication_funcspec.html, replication_funcspec_v2.html, repl= ication_funcspec_v3.html, replication_funcspec_v4.html, replication_funcspe= c_v5.html, replication_script.txt, slave_classes_1.pdf > > > It would be nice to have replication functionality to Derby; many potenti= al Derby users seem to want this. The attached functional specification lis= ts some initial thoughts for how this feature may work. > Dag Wanvik had a look at this functionality some months ago. He wrote a p= roof of concept patch that enables replication by copying (using file syste= m copy) and redoing the existing Derby transaction log to the slave (unfort= unately, I can not find the mail thread now). > DERBY-2852 contains a patch that enables replication by sending dedicated= logical log records to the slave through a network connection and redoing = these. > Replication has been requested and discussed previously in multiple threa= ds, including these: > http://mail-archives.apache.org/mod_mbox/db-derby-user/200504.mbox/%3c426= E04C1.1070904@yahoo.de%3e > http://www.nabble.com/Does-Derby-support-Transaction-Logging---t2626667.h= tml --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.