Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-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 41873D55E for ; Wed, 14 Nov 2012 05:17:26 +0000 (UTC) Received: (qmail 86774 invoked by uid 500); 14 Nov 2012 05:17:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 86571 invoked by uid 500); 14 Nov 2012 05:17:25 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 86543 invoked by uid 99); 14 Nov 2012 05:17:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 05:17:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 05:17:17 +0000 Received: by mail-vc0-f178.google.com with SMTP id gb30so83148vcb.37 for ; Tue, 13 Nov 2012 21:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fRm8vlKwWYvByPLoOAglRoWxgz189kiOtkcIfmsrrIE=; b=kZGZRMkQ9ejgwyNPpjcWTJQ0RuWSXihjqAg5rAcgYNX/Kl/Bkok9DLHza1l/u6tojw yO0YJENDFYLKEEwOefdlD7FVnQJ8OIMPmSVdNNkbWJldbNE/KbdZkPDntAS/3mZbe6v3 oL3SPeHv/59lR0oczT4aQAbQhhdyE1EN/QoMAkjj7hvu0GYIPWXccZh4yqkybtny3hls ApqsnomOKplhgu6DuGba0PU49UA25T+JirTE620tw9hrmKFCv6E+7oKPONqgFIH8STZD GLBsldJ3UTsUTaswuZ66p9fmOYIKWHYaT9F+2/azbki6JDxQxRArxKZHbwmTc9zWfScO EaBA== MIME-Version: 1.0 Received: by 10.52.23.199 with SMTP id o7mr806487vdf.129.1352870216822; Tue, 13 Nov 2012 21:16:56 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.58.117.97 with HTTP; Tue, 13 Nov 2012 21:16:56 -0800 (PST) In-Reply-To: <50A21318.20002@gmail.com> References: <50A21318.20002@gmail.com> Date: Wed, 14 Nov 2012 10:46:56 +0530 X-Google-Sender-Auth: zqcDfurinnNPIziLRcghBFYkZFw Message-ID: Subject: Re: Replication configuration From: Kiran Ayyagari To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Nov 13, 2012 at 3:00 PM, Emmanuel L=E9charny = wrote: > Hi guys, > > I have some questions about the replication configuration... > > AFAICT, we may configure the server to be a consumer, a producer, both > of them, or none of them. > > A standalone server will not be a producer or a consumer > A master server will be a producer > A slave server will be a consummer > A master/slave server will be a producer and a consumer > > In any case, a server will always be able to be a producer as soon as it > allows another server to connect on it as a consumer, and get > replicated, so for a server to be a producer is just a matter of > receiving a consumer request. > > Am I right ? > yes > I'm asking because I added a flag that allow a server to become a > producer on demand as soon as the ads-replicationEnabled flag is set to > true (this flag is used to start the replication handler when the server > is started). Does it makes sense to keep this flag ? Or should we always > start the replication handler ? > prior to this flag we have always looked for the presence of ads-replReqHandler attribute if it exists we instantiate this class and the server acts as a provider/ma= ster > I'm inclined to think that teh flag is a good thing to have. wdyt ? > If the above attribute's absence can be treated as a 'false' value so IMHO this flag is spurious in a way > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > --=20 Kiran Ayyagari http://keydap.com