[OPENDJ-5425] Backport OPENDJ-5423: Incorrectly reported missing parent entries cause import-ldif and index rebuilds to fail Created: 07/Sep/18  Updated: 08/Nov/19  Resolved: 05/Oct/18

Status: Done
Project: OpenDJ
Component/s: None
Affects Version/s: 5.5.0
Fix Version/s: 5.5.3

Type: Bug Priority: Major
Reporter: Chris Ridd Assignee: Chris Ridd
Resolution: Fixed Votes: 0
Labels: Verified

Issue Links:
is a backport of OPENDJ-5423 Incorrectly reported missing parent e... Done
Story Points: 0.5
QA Assignee: Ondrej Fuchsik
Support Ticket IDs:


This issue seems to only affect non string RDNs where multiples of 256 cause missing parent entries to be reported incorrectly.

for example:


dn: changenumber=1,cn=changelog,o=com
dn: changenumber=2,cn=changelog,o=com
dn: changenumber=3,cn=changelog,o=com
dn: changenumber=256,cn=changelog,o=com
dn: changenumber=257,cn=changelog,o=com
dn: changenumber=258,cn=changelog,o=com
dn: changenumber=512,cn=changelog,o=com



Import the data and it will fail:


[06/09/2018:13:51:03 +0100] category=TOOLS seq=55 severity=SEVERE msg=No Such Entry: The import has been aborted because the entry 'changenumber=256,cn=changelog,o=com' does not have a parent entry


This issue does not effect 2.6.x, but once upgraded to 5.5 it is not possible to rebuild indexes or re-import the data.


Comment by Ondrej Fuchsik [ 25/Apr/19 ]

Reproduced on 5.5.2 and verified using automated tests on 5.5.3-SNAPSHOT 56ef1259825.

Generated at Sun Jan 17 00:09:07 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.