Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-74154

If an entry RDN is identical to the suffix, then Entryrdn gets broken during a reindex

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-8.10.z
    • 389-ds-base
    • None
    • 389-ds-base-3.0.6-1.el10
    • No
    • Low
    • ZStream
    • rhel-sst-idm-ds
    • ssg_idm
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None

      This is a clone from https://github.com/389ds/389-ds-base/issues/6417

      Issue Description
      At the end of a reindex, entryrdn is rebuilt taking into account each entry under the suffix. The suffix is the first entry to be added. If a later entry has the same rdn than the suffix then entryrdn gets broken.

      The bug impacts bdb as well as mdb. It does not impact import but only indexing.

      Under mdb entryrdn gets broken silently, but contains invalid data
      Under bdb entryrdn gets broken with message like
      entryrdn_insert_key - Same DN (dn: <ENTRY_DN>) is already in the entryrdn file with different ID

      Package Version and Platform:

      • all versions (IIUC)

      Steps to Reproduce
      will provide a CI testcase

      Expected results
      after a reindex entryrdn should not be corrupted

              idm-ds-dev-bugs IdM DS Dev
              vashirov@redhat.com Viktor Ashirov
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: