Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 6069 invoked from network); 2 Mar 2008 17:28:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2008 17:28:06 -0000 Received: (qmail 45098 invoked by uid 500); 2 Mar 2008 17:28:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 45071 invoked by uid 500); 2 Mar 2008 17:28:01 -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 45062 invoked by uid 99); 2 Mar 2008 17:28:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 09:28:01 -0800 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,FS_REPLICA,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 17:27:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0ED1C234C083 for ; Sun, 2 Mar 2008 09:26:51 -0800 (PST) Message-ID: <434810732.1204478811059.JavaMail.jira@brutus> Date: Sun, 2 Mar 2008 09:26:51 -0800 (PST) From: "V.Narayanan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (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.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] V.Narayanan updated DERBY-2872: ------------------------------- Attachment: ReplicationDesign.pdf ReplicationWriteup.txt I started working on a replication wiki over the weekend. I spent the weeke= nd writing down the initial set of details that I thought the wiki should contain and which wou= ld be relevant to a new user of the replication feature. I wrote these details in the form of a= text file.=20 I would be converting the text file into a replication wiki over the next w= eek.=20 Since this issue deals with the replication design and tries to identify is= sues that are relevant=20 to this feature I am attaching whatever information I have assimilated to t= his issue. Note that the attached pdf contains a very simplified block diagram of the = main modules involved in replication. I purposely made this simplified to enable the easy underst= anding of the replication design. More detailed descriptions of the feature can be got by following the JIRA = pointers that are mentioned in the explanations of the various blocks of this simplified block diagram,= and going through the specific JIRA issues. I have tried to organize the information I have collected or re-collected s= o that it will be easy for reviewers to point out places in which I have gone wrong. I will be making further updates, improvements and modifications directly t= o the wiki and will not be attaching it to this issue. > Add Replication functionality to Derby > -------------------------------------- > > Key: DERBY-2872 > URL: https://issues.apache.org/jira/browse/DERBY-2872 > Project: Derby > Issue Type: New Feature > Components: Replication > 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, poc_slave_v2c.diff, proof-of-concept_v2b-howto.txt, proof_of_= concept_master.diff, proof_of_concept_master.stat, proof_of_concept_slave.d= iff, proof_of_concept_slave.stat, replication_funcspec.html, replication_fu= ncspec_v2.html, replication_funcspec_v3.html, replication_funcspec_v4.html,= replication_funcspec_v5.html, replication_funcspec_v6.html, replication_fu= ncspec_v7.html, replication_funcspec_v8.html, replication_funcspec_v9.html,= replication_script.txt, ReplicationDesign.pdf, ReplicationWriteup.txt, sla= ve_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.