The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
11f265bBug 676655 - winsync stops working after server restart
Bug 676655 - winsync stops working after server restart
https://bugzilla.redhat.com/show_bug.cgi?id=676655
Resolves: bug 676655
Bug Description: winsync stops working after server restart
Reviewed by: nhosoi (Thanks!)
Branch: master
Fix Description: The problem really is that the server does not shutdown.
You have to kill -9 the server. When it restarts, the sync agreement is no
longer working. The problem was only observed on 32-bit platforms. The
size of the mmr Repl_Connection structure is different than the size of
the winsync Repl_Connection structure. The code was calling conn_delete()
on the winsync Repl_Connection*. We have to use windows_conn_delete instead.
The repl protocol code did not have a place to do that, so I added a new
delete_conn function pointer so that prot_free can call the right
conn_delete function.
Platforms tested: RHEL5 i386, RHEL6 x86_64
Flag Day: no
Doc impact: no