You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2010/01/26 12:28:34 UTC

[jira] Commented: (DIRSERVER-1417) Deleting an AttributeType with an Index based on it won't remove the index

    [ https://issues.apache.org/jira/browse/DIRSERVER-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804980#action_12804980 ] 

Kiran Ayyagari commented on DIRSERVER-1417:
-------------------------------------------

I think the solution would be specific to each partition implementation.

E.x: In case of JDBM partition we should first get all the index files(*.db, *.lg except master.db and
      master.lg) present in the partition working directory and then remove those files which doesn't
      match with the given indexed attribute names

> Deleting an AttributeType with an Index based on it won't remove the index
> --------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1417
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1417
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-RC1
>
>
> If an Index is created using an AttributeType, and if we remove this AttributeType, then the index will be pending, with unknown consequences atm.
> When we delete an AttributeType, its index must be removed too. That mean we must have a way to get the list of index associated with a specific AttributeType.

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