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/06/02 21:30:37 UTC
[jira] Created: (DIRSERVER-1510) JdbmIndex files should be named
after the corresponding AttributeType
JdbmIndex files should be named after the corresponding AttributeType
---------------------------------------------------------------------
Key: DIRSERVER-1510
URL: https://issues.apache.org/jira/browse/DIRSERVER-1510
Project: Directory ApacheDS
Issue Type: Improvement
Reporter: Kiran Ayyagari
Assignee: Kiran Ayyagari
Fix For: 2.0.0-RC1
Currently the JdbmIndex files are stored on disk with the AttributeType's name, but this can cause problems if there are more than one alias to the same AttributeType. Currently the first mentioned alias name is taken into consideration while creating the index, however it is good to name the file with the OID of
the AttributeType.
A text file with the name <OID>-<Attribute'sname>.txt is also maintained to make it easy for administrators to identify the indexes easily.
This text file might include the schema definition of the AttributeType.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSERVER-1510) JdbmIndex files should be named
after the corresponding AttributeType's OID
Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari closed DIRSERVER-1510.
-------------------------------------
Resolution: Fixed
Fixed this issue with an assumption that the chances of naming a attribute as 'master' is unlikely, we can review it if required.
Committed the changes done to JdbmIndex/Store here here http://svn.apache.org/viewvc?rev=950897&view=rev along with updated
test cases.
> JdbmIndex files should be named after the corresponding AttributeType's OID
> ---------------------------------------------------------------------------
>
> Key: DIRSERVER-1510
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1510
> Project: Directory ApacheDS
> Issue Type: Improvement
> Reporter: Kiran Ayyagari
> Assignee: Kiran Ayyagari
> Fix For: 2.0.0-RC1
>
>
> Currently the JdbmIndex files are stored on disk with the AttributeType's name, but this can cause problems if there are more than one alias to the same AttributeType. Currently the first mentioned alias name is taken into consideration while creating the index, however it is good to name the file with the OID of
> the AttributeType.
> A text file with the name <OID>-<Attribute'sname>.txt is also maintained to make it easy for administrators to identify the indexes easily.
> This text file might include the schema definition of the AttributeType.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1510) JdbmIndex files should be named
after the corresponding AttributeType
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874767#action_12874767 ]
Stefan Seelmann commented on DIRSERVER-1510:
--------------------------------------------
Good idea. I wonder what would currently happen if I would create an indexed attribute type named 'master'?
> JdbmIndex files should be named after the corresponding AttributeType
> ---------------------------------------------------------------------
>
> Key: DIRSERVER-1510
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1510
> Project: Directory ApacheDS
> Issue Type: Improvement
> Reporter: Kiran Ayyagari
> Assignee: Kiran Ayyagari
> Fix For: 2.0.0-RC1
>
>
> Currently the JdbmIndex files are stored on disk with the AttributeType's name, but this can cause problems if there are more than one alias to the same AttributeType. Currently the first mentioned alias name is taken into consideration while creating the index, however it is good to name the file with the OID of
> the AttributeType.
> A text file with the name <OID>-<Attribute'sname>.txt is also maintained to make it easy for administrators to identify the indexes easily.
> This text file might include the schema definition of the AttributeType.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1510) JdbmIndex files should be named
after the corresponding AttributeType's OID
Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari updated DIRSERVER-1510:
--------------------------------------
Summary: JdbmIndex files should be named after the corresponding AttributeType's OID (was: JdbmIndex files should be named after the corresponding AttributeType)
> JdbmIndex files should be named after the corresponding AttributeType's OID
> ---------------------------------------------------------------------------
>
> Key: DIRSERVER-1510
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1510
> Project: Directory ApacheDS
> Issue Type: Improvement
> Reporter: Kiran Ayyagari
> Assignee: Kiran Ayyagari
> Fix For: 2.0.0-RC1
>
>
> Currently the JdbmIndex files are stored on disk with the AttributeType's name, but this can cause problems if there are more than one alias to the same AttributeType. Currently the first mentioned alias name is taken into consideration while creating the index, however it is good to name the file with the OID of
> the AttributeType.
> A text file with the name <OID>-<Attribute'sname>.txt is also maintained to make it easy for administrators to identify the indexes easily.
> This text file might include the schema definition of the AttributeType.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.