Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 35895 invoked from network); 27 Nov 2004 16:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Nov 2004 16:06:25 -0000 Received: (qmail 52275 invoked by uid 500); 27 Nov 2004 16:06:24 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 52216 invoked by uid 500); 27 Nov 2004 16:06:23 -0000 Mailing-List: contact directory-dev-help@incubator.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 directory-dev@incubator.apache.org Received: (qmail 52168 invoked by uid 99); 27 Nov 2004 16:06:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 27 Nov 2004 08:06:23 -0800 Received: (qmail 1654 invoked from network); 27 Nov 2004 16:06:21 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 27 Nov 2004 16:06:21 -0000 Message-ID: <778873650.1101571581314.JavaMail.apache@nagoya> Date: Sat, 27 Nov 2004 08:06:21 -0800 (PST) From: "Alex Karasulu (JIRA)" To: directory-dev@incubator.apache.org Subject: [jira] Updated: (DIREVE-23) Use multiple PartitionNexus' for layered partitioning In-Reply-To: <674157712.1096613612130.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/DIREVE-23?page=history ] Alex Karasulu updated DIREVE-23: -------------------------------- Priority: Minor (was: Major) > Use multiple PartitionNexus' for layered partitioning > ----------------------------------------------------- > > Key: DIREVE-23 > URL: http://nagoya.apache.org/jira/browse/DIREVE-23 > Project: Directory Eve > Type: Improvement > Components: jndi-provider > Reporter: Alex Karasulu > Assignee: Alex Karasulu > Priority: Minor > > I just got a great idea but it might be a little crazy. There is a problem with the current model where there can only be one (singleton) nexus way at the top of a system. This severly limits how the namespace can be partitioned. Because of BackingStore operation routing concerns to ContextPartitions, one cannot have two ContextPartitions having a suffix overlap. Basically ContextPartitions with suffixes like so are not allowed: > ..o CP1 suffix is dc=apache,dc=org > ..o CP2 suffix is ou=people,dc=apache,dc=org > Here's how the tree might look: > .............................[RootNexus] > ................................/...\ > ............................[CP1]...[CP2] > The suffix of CP1 overlaps the suffix of CP2. Basically requests recieved under the CP2 suffix base have a tough time determining where they should route calls. To avoid this confusion there is the restriction mentioned above. > What if had a very special kind of nexus that was not a singleton and had a suffix associated with it? Furthermore this nexus can contain entries off of that suffix as well instead of just delagating their storage to partitions it bridges. This nexus could then eliminate the routing problem and remove the restriction. For the time being lets call this a ContextNexus. So we could have the following configuration: > ..o CN1 suffix is dc=apache,dc=org > ..o CP2 suffix is ou=people,dc=apache,dc=org > Here's how the tree might look: > .............................[RootNexus] > ..................................| > ................................[CN1] > ..................................| > ................................[CP2] > Here in this case entries like ou=groups,dc=apache,dc=apache and its contents would be stored in CN1 and so would the suffix dc=apache,dc=org. Now because of this extra level of routing decisions for routing cannot get confusing. We can then partition the namespace in any manner we see fit with minimal cost to performance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira