832253e Ticket #47764 - Problem with deletion while replicated

Authored and Committed by nhosoi 9 years ago
    Ticket #47764 - Problem with deletion while replicated
    
    Bug description: When checking a child entry on a node, it only
    checked the first position, which was normally "deleted" if there
    were no more children. But in some cases, a tombstoned child was
    placed there.  If it occurred, even though there were no live child
    any more, _entryrdn_delete_key returned "has children" and the delete
    operation failed.
    
    Fix description: This patch checks all the children of the to-be-
    deleted node and if there is no child or all of them are tombstones,
    it goes to the next process.  Also, the fixed a typo reported by
    chatfield (Thank you!!)
    
    https://fedorahosted.org/389/ticket/47764
    
    Reviewed by chatfield and mreynolds@redhat.com (Thank you both!!)