Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 51037 invoked from network); 1 Dec 2007 20:37:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2007 20:37:15 -0000 Received: (qmail 8364 invoked by uid 500); 1 Dec 2007 20:37:02 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 8326 invoked by uid 500); 1 Dec 2007 20:37:02 -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 8315 invoked by uid 99); 1 Dec 2007 20:37:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 12:37:02 -0800 X-ASF-Spam-Status: No, hits=-99.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 20:37:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 16A9171420A for ; Sat, 1 Dec 2007 12:36:43 -0800 (PST) Message-ID: <26081889.1196541403049.JavaMail.jira@brutus> Date: Sat, 1 Dec 2007 12:36:43 -0800 (PST) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-465) Make partitions nestable: remove the nexus singleton! MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Karasulu updated DIRSERVER-465: ------------------------------------ Summary: Make partitions nestable: remove the nexus singleton! (was: Use multiple PartitionNexus' for layered partitioning) making summary more succinct and clear > Make partitions nestable: remove the nexus singleton! > ----------------------------------------------------- > > Key: DIRSERVER-465 > URL: https://issues.apache.org/jira/browse/DIRSERVER-465 > Project: Directory ApacheDS > Issue Type: Improvement > Components: core > Reporter: Alex Karasulu > Assignee: Alex Karasulu > Priority: Critical > Fix For: bigbang > > > 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. - You can reply to this email to add a comment to the issue online.