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

gbellato
27.34.2009 a733cedcf54ab0b979f7f1b762d086e49bd59d72
refs
author gbellato <gbellato@localhost>
Tuesday, October 27, 2009 10:34 +0100
committer gbellato <gbellato@localhost>
Tuesday, October 27, 2009 10:34 +0100
commita733cedcf54ab0b979f7f1b762d086e49bd59d72
tree 4bd76b8dba04a023c79a7ea2d6d984ad241f94bd tree | zip | gz
parent b3cf112b20edd45a5d0ec64d1279ee92421c2655 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
opends/src/server/org/opends/server/replication/common/MutableBoolean.java 67 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/DbHandler.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ECLServerWriter.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerReader.java 14 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerWriter.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/service/ReplicationDomain.java 23 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 2 ●●● diff | view | raw | blame | history