Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1624

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.7
    • Fix Version/s: 2.0.0-M8
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Emmanuel Lecharny made changes -
          Fix Version/s 2.0.0-RC1 [ 12313387 ]
          Emmanuel Lecharny made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.0-M8 [ 12320058 ]
          Resolution Fixed [ 1 ]
          Hide
          Emmanuel Lecharny added a comment -

          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)

          Show
          Emmanuel Lecharny added a comment - 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)
          Hide
          Emmanuel Lecharny added a comment -

          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)

          Show
          Emmanuel Lecharny added a comment - 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)
          Kiran Ayyagari made changes -
          Link This issue is duplicated by DIRSERVER-1709 [ DIRSERVER-1709 ]
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 2.0.0-RC1 [ 12313387 ]
          Fix Version/s 2.0.0-M3 [ 12316467 ]
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Version 2.0.0-M3 has been released a couple months ago.

          Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).

          Show
          Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M3 has been released a couple months ago. Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 2.0.0-M3 [ 12316467 ]
          Fix Version/s 2.0.0-M2 [ 12316056 ]
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Version 2.0.0-M1 has been released.
          Moving all related non-resolved issues to the next version.

          Show
          Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M1 has been released. Moving all related non-resolved issues to the next version.
          Pierre-Arnaud Marcelot made changes -
          Field Original Value New Value
          Fix Version/s 2.0.0-M2 [ 12316056 ]
          Fix Version/s 2.0.0-M1 [ 12316055 ]
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Version 2.0.0-M1 has been released.
          Moving all related non-resolved issues to the next version.

          Show
          Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M1 has been released. Moving all related non-resolved issues to the next version.
          Emmanuel Lecharny created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development