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 D1134D891 for ; Thu, 15 Nov 2012 15:23:31 +0000 (UTC) Received: (qmail 60323 invoked by uid 500); 15 Nov 2012 15:23:31 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 60040 invoked by uid 500); 15 Nov 2012 15:23:27 -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 59985 invoked by uid 99); 15 Nov 2012 15:23:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 15:23:25 +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; Thu, 15 Nov 2012 15:23:19 +0000 Received: by mail-vc0-f178.google.com with SMTP id gb30so2197418vcb.37 for ; Thu, 15 Nov 2012 07:22:58 -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=Sk5eTkIfsNYMQDH1xBva1Do1AvR4XyMJWUfoBYsfIXQ=; b=Jj2htDm1HwXhgJtlVLrbAvuE646yQpju4EG78oJ+Fumo9FmKYRQlQsNSBo08FoIUGd 1WLhCFUcOXlScqZvcQ8EV6+ASZHJ4uoM46Ye5xOE69WYqu2NqQqQkKoKvUaJZSz10DhG kruU3GhLD5l7B7WdzpAueUBoMf5GMY5Y6jDg4X0faBxSXqGaDnbEkNINpp3elw2DEbg7 Tui+FKDVVDmEhZBKNyDftC91SZcXM1Zm4/YO4ehKiH58VXc9pVkDECbRYEprztICl6JN yVGb8G9g/emY3e4xiCXCl3KYfVkZLYFwOAtdVBK5bmVXBWjsXV4dUbCc08EMfnxpNF9k rv1w== MIME-Version: 1.0 Received: by 10.58.221.130 with SMTP id qe2mr1900292vec.14.1352992978670; Thu, 15 Nov 2012 07:22:58 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.58.117.97 with HTTP; Thu, 15 Nov 2012 07:22:58 -0800 (PST) In-Reply-To: <50A43329.7080706@gmail.com> References: <50A43329.7080706@gmail.com> Date: Thu, 15 Nov 2012 20:52:58 +0530 X-Google-Sender-Auth: 4QqMSZsjt4wJEoFI9u6LJ43OFYI Message-ID: Subject: Re: Replication, consummers and producers question From: Kiran Ayyagari To: Apache Directory Developers List , elecharny@apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org this is done to handle the events that occurred while the consumer was offl= ine (either in refreshOnly or refreshNPersist mode). There is another way to ha= ndle without maintaining this history but we choose to maintain history. On Thu, Nov 15, 2012 at 5:41 AM, Emmanuel L=E9charny = wrote: > Hi, > > as I'm currently looking at the code, I'm wondering if we should store > the consummers configuration into the producer. It seems like every > server that has consumers is setting up a persistent search for each > consumer, evn if the consumer are not yet connected. > > Wouldn't be better to just create the persistentSearch when a consumer > actually conntects to the master server, and to avoid storing such > information into the server ? (Just wondering) > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > --=20 Kiran Ayyagari http://keydap.com