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 4D6C2D523 for ; Tue, 10 Jul 2012 21:13:47 +0000 (UTC) Received: (qmail 81089 invoked by uid 500); 10 Jul 2012 21:13:47 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 81014 invoked by uid 500); 10 Jul 2012 21:13:47 -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 81005 invoked by uid 99); 10 Jul 2012 21:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 21:13:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 21:13:40 +0000 Received: by weyu7 with SMTP id u7so364814wey.37 for ; Tue, 10 Jul 2012 14:13:19 -0700 (PDT) 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; bh=krBNY75rWiEwszXyNa7HGBA61ihhcos9oL3R4Y2ZWYA=; b=x/7PBMeNJ0JHFRYrmzMcfft2DGBBanc3oMMl+5CB4mzidSEkb29+d1A1fMBiXCQVbA OIlqH3HcBjx1autGGg2hQRfD3U01/DzutvpV2ea3/TgzfRYXCwJ9bLfQXVS5fvk02OFM ph5OTFEf92976wInTThBLLL2bDKMT6K74oKqD9gIoHVbSXCt6Qtsy5ctZWY9jpVZOkgE 6807CKwPlZixVHfOpCAnthEQsY7UX6CerJjGTTQ0R46LS6FPBNkf5D2oftbuvWi1Mn+S rMgcYBgrN7rnUs0d+piGzdkAstz3020bzpIFkQufw/BWHbSoTS02TAD0UmthM4PYrhyw 9lkw== MIME-Version: 1.0 Received: by 10.180.81.165 with SMTP id b5mr41297385wiy.17.1341954799268; Tue, 10 Jul 2012 14:13:19 -0700 (PDT) Sender: akarasulu@gmail.com Received: by 10.180.106.103 with HTTP; Tue, 10 Jul 2012 14:13:19 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jul 2012 00:13:19 +0300 X-Google-Sender-Auth: K07ca-usnRYFJpzNkfEdNv8cjdY Message-ID: Subject: Re: Question about Replication of Config Partition and Schema Partition From: Alex Karasulu To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=f46d044304ee1d735e04c4803385 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044304ee1d735e04c4803385 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Jul 10, 2012 at 1:54 PM, G=F6kt=FCrk Gezer wrote: > Hi Everyone, > > I would like to know, it config and schema partitions of one server node > can be candidate for replication? If replication of some ApacheDS instanc= e > will also clone its config and schema partition, we have a little problem > because of the randomly assigned OIDs to component factories. So lets say > ApacheDS1 and ApacheDS2 both have same set of interceptors, because of th= e > nature of OSGI those can be introduced in different order in two differen= t > server node which results in schema partitions having different > OID assignments for same components across 2 server node. > > Right now I would not worry about replication. You can solve this problem later. Just focus on your part functioning properly. This will be a problem we will need to solve anyway. Plus replication is not really there in a dependable way. > This is something we've postponed to discuss later, > Exactly what I started writing above. > it's not a concern for single server but in replication scenario i'd like > to know how this effects consistency between distinct server nodes. I'm n= ot > so sure what is being replicated in our implementation, some partition or > entire server with all of its runtime components and configuration? > > Eventually the replication mechanism will need to support partial and fractional replication. It's way over simplified and does not have the control structures for us to properly configure it in a fine grained manner. This will need to change of course but I'd really like to review replication after we finish with the Txn stuff because then it will make internal replication handling much clearer for us then. Does this make sense? --=20 Best Regards, -- Alex --f46d044304ee1d735e04c4803385 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Jul 10, 2012 at 1:54 PM, G=F6kt= =FCrk Gezer <gokturk.gezer@gmail.com> wrote:
Hi Everyone,

I would like to know, it config and schema = partitions of one server node can be candidate for replication? If replicat= ion of some ApacheDS instance will also clone its config and schema partiti= on, we have a little problem because of the randomly assigned OIDs to compo= nent factories. So lets say ApacheDS1 and ApacheDS2 both have same set of i= nterceptors, because of the nature of OSGI those can be introduced in diffe= rent order in two different server node which results in schema partitions = having different OID=A0assignments=A0for same components across 2 server no= de.


Right now I would not worry= about replication. You can solve this problem later. Just focus on your pa= rt functioning properly. This will be a problem we will need to solve anywa= y. Plus replication is not really there in a dependable way.
=A0
This is someth= ing we've postponed to discuss later,

Exactly what I started writing above.=A0
=A0
it's not a concern for single server but in replic= ation scenario i'd like to know how this effects consistency between di= stinct server nodes. I'm not so sure what is being replicated in our im= plementation, some partition or entire server with all of its runtime compo= nents and configuration?


Eventually the replication = mechanism will need to support partial and fractional replication. It's= way over simplified and does not have the control structures for us to pro= perly configure it in a fine grained manner.=A0

This will need to change of course but I'd really l= ike to review replication after we finish with the Txn stuff because then i= t will make internal replication handling much clearer for us then.

Does this make sense?

--
=
Best Regards,
-- Alex

--f46d044304ee1d735e04c4803385--