mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.50.2008 3790dd899db51a47f770ee52f339cfd2539e2bbd
refs
author jvergara <jvergara@localhost>
Thursday, January 17, 2008 09:50 +0100
committer jvergara <jvergara@localhost>
Thursday, January 17, 2008 09:50 +0100
commit3790dd899db51a47f770ee52f339cfd2539e2bbd
tree b27b9811b0a3292042b9ef8df839f57e0f5ece5b tree | zip | gz
parent e4e9b2ebc7d41715fc0c0c8ba07f897fe63a688e view | diff
Fix for 2811 (dsreplication disable doesn't remove references to current server from replicated servers)
The fix makes dsreplication enable and dsreplication disable symmetric. When the user disables the last replicated suffix, we inform that the replication server will also be disabled. So when the last repilcated suffix is disabled, replication on cn=schema and cn=admin data are also disabled and the registration information updated properly.

Some changes have been made in ADSContext to make registerServer and unregisterServer symmetric: unregisterServer removes the references to the server keys and also the references to the server in the different server groups.

The code of DsFrameworkCliServer.java has also been updated since ADSContext.unregisterServer already updates the server groups.
6 files modified
443 ■■■■■ changed files
opends/src/ads/org/opends/admin/ads/ADSContext.java 92 ●●●●● diff | view | raw | blame | history
opends/src/ads/org/opends/admin/ads/ADSContextHelper.java 59 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliMain.java 262 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliReturnCode.java 9 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/admin_tool.properties 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/cli/DsFrameworkCliServer.java 11 ●●●●● diff | view | raw | blame | history