Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 73684 invoked from network); 23 Aug 2007 09:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 09:40:54 -0000 Received: (qmail 17031 invoked by uid 500); 23 Aug 2007 09:40:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16999 invoked by uid 500); 23 Aug 2007 09:40:50 -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 16990 invoked by uid 99); 23 Aug 2007 09:40:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 02:40:50 -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; Thu, 23 Aug 2007 09:41:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A9E4714208 for ; Thu, 23 Aug 2007 02:40:31 -0700 (PDT) Message-ID: <16694125.1187862031237.JavaMail.jira@brutus> Date: Thu, 23 Aug 2007 02:40:31 -0700 (PDT) From: =?utf-8?Q?J=C3=B8rgen_L=C3=B8land_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2926) Replication: Add a log buffer for log records that should be shipped to the slave In-Reply-To: <27751116.1184228044443.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-2926?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B8rgen L=C3=B8land updated DERBY-2926: --------------------------------- Derby Info: [Patch Available] > Replication: Add a log buffer for log records that should be shipped to t= he slave > -------------------------------------------------------------------------= -------- > > Key: DERBY-2926 > URL: https://issues.apache.org/jira/browse/DERBY-2926 > 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 > Fix For: 10.4.0.0 > > Attachments: bytebuffer_resizefix_1.diff, bytebuffer_resizefix_1.= stat, bytebuffer_v1-fixheader.diff, bytebuffer_v1-fixheader.stat, bytebuffe= r_v1.diff, bytebuffer_v1.stat, bytebuffer_v1a.diff, bytebuffer_v1a.stat, by= tebuffer_v2.diff, bytebuffer_v2.stat, bytebuffer_v2b.diff, bytebuffer_v2b.s= tat > > > When a Derby instance has the master role for a database, log records are= shipped to the slave to keep it up to date. A buffer is needed because the= log records should not be shipped one at a time. Also, writing the log rec= ords to a buffer instead of sending them immediately removes the network co= mmunication from the critical path for the transaction. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.