You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/07/01 00:11:08 UTC

[jira] Updated: (DIRSERVER-985) PartitionConfig is specific to Jdbm

     [ https://issues.apache.org/jira/browse/DIRSERVER-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-985:
----------------------------------------

    Fix Version/s:     (was: 1.5.1)
                   1.5.2

Agreed, this is not cool...

I just postpone such a modification to the next version, because it's not so easy to fix.

> PartitionConfig is specific to Jdbm
> -----------------------------------
>
>                 Key: DIRSERVER-985
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-985
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.0
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: 1.5.2
>
>
> PartitionConfiguration is specific to Jdbm and is not an interface, so in order to implement a custom configuration you must extend this class and override some methods and private vars in order to properly imeplement a custom version.  This works just fine but is pretty much unintuitive.  PartitionConfiguration probably needs to be an interface with the required methods defined and the current PartitionConfiguration code moved to an implementation of it specifically for Btree/Jdbm.
> As a workaround in 1.5.0, you can extend PartitionConfiguration and override private variable partitionContext and getPartitionContext().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.