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

mrossign
19.31.2009 e12571189d9d1d4de510fef605d2936e2f9f6671
refs
author mrossign <mrossign@localhost>
Thursday, March 19, 2009 11:31 +0100
committer mrossign <mrossign@localhost>
Thursday, March 19, 2009 11:31 +0100
commite12571189d9d1d4de510fef605d2936e2f9f6671
tree 63821c37273c9e71867abbae20e353dd045a9756 tree | zip | gz
parent d05ec22eef76b021f08fba24c8cc81978c02dbb8 view | diff
Fix for issue #3887: Dynamic assured replication configuration change may give few timeouts

When doing a modrate on as DS where assured replication is not enabled,
if you enable assured replication (safe-data or safe-read) with dsconfig
at the same time, you may get some timeouts for some messages at the
beginning. This is due to the fact that new configuration values are set
(assured boolean set to true) before reconnection occurs. So messages
are fired in assured mode and then just after, the connection is broken
to reconnect with new configuration to the topology. This may make the
messages fired before reconnection fail in timeout.

Fix: read new conf, disconnect, store new conf, reconnect

1 files modified
42 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 42 ●●●● diff | view | raw | blame | history