jsynacek@redhat.com wrote:
On 02/27/2013 02:48 PM, jsynacek@redhat.com wrote:
On 02/27/2013 12:25 PM, jsynacek@redhat.com wrote:
Full_Name: Jan Synacek Version: RE24 (7b03a58) OS: Linux - Fedora 18 URL: ftp://ftp.openldap.org/incoming/jsynacek-reproducer.tar.gz Submission from: (NULL) (209.132.186.34)
The setup is a master with an ldap backend and a slave consumer. If the master is running and slave is not, delete operation results in the master being stuck.
Steps to reproduce:
- Start master.
- Add the example ldif.
- Delete one of the test org units.
- Observe the error.
I would expect the master to honor the retry setting.
During the reproduction, it may be necessary to first have both master and slave running, delete a testing test org unit (so the first replication is successful), stop the slave and then continue to step 3.
URL: ftp://ftp.openldap.org/incoming/jsynacek-20130103-syncrepl-retry.patch
This patch is clearly unacceptable. Your goto obviously skips over two _free() invocations, thus introducing a memory leak.