Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2299

Missing Indexes after Restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0.AM25
    • None
    • index, ldap
    • None

    Description

      We have decided to use ApacheDS (version 2.0.0.AM25) for Authentication in our product. Ldap Server and Directory Service are being used in Embedded Mode.

       

      During our Tests we found that after Restart, some of the Entries via Indexed Attribute Search Filter are not comming in search result. After considering various possibilities we found that it is Indexing problem. We used Repair commnd and then we see those entries in search results.

       

      Why some of the indexes were missing even it was a gracefull shutdown?

       

      We want to avoid repair command after every restart unless it is really necessary. Our product will serve in future more than 50K users, we have fear that it would cost us a lot if we encounter those unexpected problems.  

       

      These are two attributes used in our search filters

      dn: ads-indexAttributeId=mail,ou=indexes,ads-partitionId=tsi,ou=part
      itions,ads-directoryServiceId=default,ou=config
      ads-indexattributeid: mail
      ads-indexHasReverse: FALSE
      ads-indexcachesize: 1000
      objectclass: ads-index
      objectclass: ads-jdbmIndex
      objectclass: ads-base
      objectclass: top
      ads-enabled: TRUE

      dn: ads-indexAttributeId=telID,ou=indexes,ads-partitionId=tsi,ou=part
      itions,ads-directoryServiceId=default,ou=config
      ads-indexattributeid: telID
      ads-indexHasReverse: FALSE
      ads-indexcachesize: 1000
      objectclass: ads-index
      objectclass: ads-jdbmIndex
      objectclass: ads-base
      objectclass: top
      ads-enabled: TRUE

       

      Attachments

        1. index-config.png
          52 kB
          Rashid Mahmood
        2. image-2020-02-11-17-02-41-811.png
          79 kB
          Rashid Mahmood
        3. image-2020-02-06-16-53-48-839.png
          10 kB
          Rashid Mahmood
        4. ApacheDS 2.0.0.AM25-example-structure.png
          8 kB
          Rashid Mahmood
        5. ApacheDS 2.0.0.AM24-example-structure.png
          78 kB
          Rashid Mahmood
        6. after-repair.png
          2 kB
          Rashid Mahmood

        Activity

          People

            Unassigned Unassigned
            ramahmoo Rashid Mahmood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: