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

mrossign
19.31.2009 b6fb33af50bd7570ad0fa2c4441af20a907de4f3
refs
author mrossign <mrossign@localhost>
Thursday, March 19, 2009 11:31 +0100
committer mrossign <mrossign@localhost>
Thursday, March 19, 2009 11:31 +0100
commitb6fb33af50bd7570ad0fa2c4441af20a907de4f3
tree 965541c64d9590004042ff9e26175e35c64c20b9 tree | zip | gz
parent 1e07113d7bee8a393774ef628b91f5f598e694f8 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
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 42 ●●●● diff | view | raw | blame | history