Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CDBE109B6 for ; Wed, 2 Apr 2014 15:15:49 +0000 (UTC) Received: (qmail 37539 invoked by uid 500); 2 Apr 2014 15:15:47 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 36198 invoked by uid 500); 2 Apr 2014 15:15:41 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 36019 invoked by uid 99); 2 Apr 2014 15:15:35 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 15:15:35 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A62FA1D551A; Wed, 2 Apr 2014 15:15:25 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5901222595430278892==" MIME-Version: 1.0 Subject: Re: Review Request 19862: Design document for review on cross-cluster replication From: "Josh Elser" To: "accumulo" , "Josh Elser" Date: Wed, 02 Apr 2014 15:15:25 -0000 Message-ID: <20140402151525.2272.33994@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Josh Elser" X-ReviewGroup: accumulo X-ReviewRequest-URL: https://reviews.apache.org/r/19862/ X-Sender: "Josh Elser" References: <20140401015820.28608.95878@reviews.apache.org> In-Reply-To: <20140401015820.28608.95878@reviews.apache.org> Reply-To: "Josh Elser" X-ReviewRequest-Repository: accumulo --===============5901222595430278892== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19862/#review39260 ----------------------------------------------------------- docs/src/main/resources/design/ACCUMULO-378-design.mdtext Thinking about this from a total ordering standpoint. Say we're replicating to two slaves, and we have three rfiles to replicate (1, 2 and 3) to those two slaves. We replicate rfile1 to both, but then the link to slave2 goes down. We can still replicate rfile2 and then rfile3 to slave1, while we try to send rfile2 to slave2. What, if instead of the link being down, we happen to communicate to an angry server inside of slave2 which never completes the transfer. We don't want to transfer rfile3 to attempt to better preserve global ordering. This can be restated as "we only want to replicate one 'file' to a slave at a time" so that we preserve the original semantics of the replication "queue" (table). The problem is that this could drastically slow down replication when the link between master and slave cannot be saturated by one replication task at a time. This isn't anything that we can reliably guarantee now (without conditional mutations), right? Is it worth trying to tackle? The one clear change I want to make is that we do want to put the identifier for the slave in with the replication record rather than defer determination of where a record should be replicated. - Josh Elser On April 1, 2014, 1:58 a.m., Josh Elser wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19862/ > ----------------------------------------------------------- > > (Updated April 1, 2014, 1:58 a.m.) > > > Review request for accumulo. > > > Bugs: ACCUMULO-378 > https://issues.apache.org/jira/browse/ACCUMULO-378 > > > Repository: accumulo > > > Description > ------- > > Re-posting a version of the design doc that I own. Contains grammatical fixes from round one, with a few extra clarifications. New content should be posted here, but I'll maintain the old review as discussion progresses. > > > Diffs > ----- > > docs/src/main/resources/design/ACCUMULO-378-design.mdtext PRE-CREATION > > Diff: https://reviews.apache.org/r/19862/diff/ > > > Testing > ------- > > > Thanks, > > Josh Elser > > --===============5901222595430278892==--