Thanks for your report. Sounds a lot like ITS#4782...
On Thu, Dec 11, 2008 at 10:14:23AM +0000, jorge.perez@adaptia.net wrote:
Full_Name: Jorge Perez Burgos Version: 2.4.11 OS: SLES 10 URL: ftp://ftp.openldap.org/incoming/back-meta_changes.diff.gz Submission from: (NULL) (194.237.142.20)
Meta backend send two response codes when trying to reconnect to other slapd.
Steps to reproduce: Configure two slapds, slapd_A and slapd_B. slapd_A connects to slapd_B trough meta backend. Do some traffic operations. Restart slapd_B and do some modify, delete or add operation, response code 52 is received although the operation is sucessful. Using a tcpdump you can see two response codes for the request.
I attach a possible patch for this issue.