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

gbellato
27.34.2009 b04289e1bed7899113119319b6a0a45617a849f6
refs
author gbellato <gbellato@localhost>
Tuesday, October 27, 2009 10:34 +0100
committer gbellato <gbellato@localhost>
Tuesday, October 27, 2009 10:34 +0100
commitb04289e1bed7899113119319b6a0a45617a849f6
tree 1f5e4dfb3d4f2ee5810058bb45e4a81e23d418b7 tree | zip | gz
parent 2937946fbf63ca8efef39e8d84ad5e1c27531977 view | diff
Fix for issue 4316 : Replication takes too much time to shutdown

Several changes are included in this diff that allows replicaiton shutdown to
happen more quickly

- The Replication Server dbHandler thread was synchronized on the wrong variable
- During shutdown Topo messages were sent to all the other RS by the RS
that is shutdown.
- There was a left sleep in the ReplicationServer creation that is not necessary anymore.
1 files added
11 files modified
190 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/common/MutableBoolean.java 67 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/DbHandler.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ECLServerWriter.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 62 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerHandler.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerReader.java 14 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerWriter.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 2 ●●● diff | view | raw | blame | history