[OPENDJ-6216] Ldapsearch returns different results when DJ upgraded and different when just installed Created: 16/Apr/19 Updated: 08/Nov/19 Resolved: 03/May/19
|Fix Version/s:||Not applicable|
|Reporter:||Michal Severin||Assignee:||Matthew Swift|
|Resolution:||Not a defect||Votes:||0|
Found on Linux, OpenDJ 7.0.0-SNAPSHOT rev. 5a25b0834dc
|Epic Link:||Bugs 7.0|
Different number of results is returned when DJ is upgraded - cn=myself is missing. When DJ is installed and not upgraded cn=myself is found
1. Install DJ (7.0.0) and check number of entries
2. Install DJ (4.0.0) and upgrade to 7.0.0 and check number of entries
3. Compare number of entries without and with upgrade
Both ldapsearch with and without upgrade should find cn=myself and same number of entries.
Entries found with upgrade - cn=myself is missing
|Comment by Matthew Swift [ 03/May/19 ]|
This behavior is expected. It's because upgrade does not automatically make the root user a public backend, which is now the case for new installs.
More generally, the goal of upgrade is to ensure that there are no behavioral differences before and after upgrade. Typically this means making configuration changes or re-indexing databases so that the server continues to work after upgrade. On the other hand, no attempt is made to enable new features or to otherwise make the server behave as if it were a new install. To put it another way, an end-user should be able to safely perform an upgrade without worrying about whether the server will continue to be compatible with their existing client applications, security policies, etc.
|Comment by Michal Severin [ 07/May/19 ]|
Thank you for info, I did not know that. I will close the issue.