If a replication is configured against a sub backend instance before initializing the backend with a sub suffix entry, an RUV entry is inserted with a temporary sub suffix entryid to the entryrdn index. The temporary entryid was not updated when the real sub suffix entry was added.
Search failed to return entries under the sub suffix if a replication is configured before initializing the sub backend.
When a real sub suffix is added, the temporary entry id in the entryrdn index is replaced with the real entry id.
Search successfully returns entries under the sub suffix if a replication is configured before initializing the sub backend.