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 2011/06/16 17:41:47 UTC

[jira] [Created] (DIRSERVER-1624) Index are not created when added after the server has been started

Index are not created when added after the server has been started
------------------------------------------------------------------

                 Key: DIRSERVER-1624
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1624
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.7
            Reporter: Emmanuel Lecharny
            Priority: Blocker
             Fix For: 2.0.0-M1


If we start a server, add a user index, it's not really created. The Partition sees the index added into it's indexed attributeTypes list, but the underlying storage is never updated.

In order to have the index created, the DirectoryService must be stopped and started.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DIRSERVER-1624) Index are not created when added after the server has been started

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSERVER-1624:
----------------------------------------------

    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0-M3

> Index are not created when added after the server has been started
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-1624
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1624
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 2.0.0-M3
>
>
> If we start a server, add a user index, it's not really created. The Partition sees the index added into it's indexed attributeTypes list, but the underlying storage is never updated.
> In order to have the index created, the DirectoryService must be stopped and started.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DIRSERVER-1624) Index are not created when added after the server has been started

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1624.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M8

This has been fixed. The method  :
   private void buildUserIndex( List<Index<?, Entry, String>> userIndexes ) throws Exception

does the job (read all the entries from teh master table and feed teh newly created index)

                
> Index are not created when added after the server has been started
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-1624
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1624
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 2.0.0-M8, 2.0.0-RC1
>
>
> If we start a server, add a user index, it's not really created. The Partition sees the index added into it's indexed attributeTypes list, but the underlying storage is never updated.
> In order to have the index created, the DirectoryService must be stopped and started.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSERVER-1624) Index are not created when added after the server has been started

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466780#comment-13466780 ] 

Emmanuel Lecharny commented on DIRSERVER-1624:
----------------------------------------------

It's not an exact duplication of DIRSERVER-1709 : this issue is for index added after some data has been injected into the server, even if the server is down.

I think it has been fixed a long time ago, but we must double check that the index is re-created at startup, with all the data injected into it (that means we read all the entries, and add the values into the index before opening the server)
                
> Index are not created when added after the server has been started
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-1624
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1624
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 2.0.0-RC1
>
>
> If we start a server, add a user index, it's not really created. The Partition sees the index added into it's indexed attributeTypes list, but the underlying storage is never updated.
> In order to have the index created, the DirectoryService must be stopped and started.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira