We had aborted Directory Server reindexing with graceful server restart but now searches are not returning some results
Issue
We had restarted one of our replicated LDAP servers while it was reindexing. Now, some searches on that server fail:
$ ldapsearch -h ldap1.example.com -b "dc=example,dc=com" "(objectclass=User)"
...
# search result
search: 2
result: 0 Success
# numResponses: 1
Whereas on a working server, the same command produces :
$ ldapsearch -h ldap2.example.com -b "dc=example,dc=com" "(objectclass=User)"
...
# 87592374, users2, US, SPS
dn: [...]
# numResponses: 2
# numEntries: 1
Environment
Red Hat Directory Server 9.0
Red Hat Directory Server 10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.