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
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:
Steps to Reproduce will provide a CI testcase
Expected results after a reindex entryrdn should not be corrupted