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

gbellato
03.00.2008 3556ad0275d7271b6533569ac72cb741abdb0b81
refs
author gbellato <gbellato@localhost>
Thursday, January 3, 2008 15:00 +0100
committer gbellato <gbellato@localhost>
Thursday, January 3, 2008 15:00 +0100
commit3556ad0275d7271b6533569ac72cb741abdb0b81
tree c9957ed7c16db7dd62226572ed7b70e86396f4cc tree | zip | gz
parent 567cef647cc0ad3e6d8531ba22f408e6e018ec14 view | diff
 fix for 2787 : Replication Server sessions fails when disconnecting and re-connecting

When a ReplicationBroker disconnect and reconnect quickly to a Replication
Server the reconnection sometimes fails.

These Changes :
- add a unit tests for these condition
- fixes race conditions in the Replication Server code to make this test
successful
9 files modified
275 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java 9 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/DbHandler.java 8 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationDbEnv.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 99 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java 23 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerReader.java 49 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 69 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/DbHandlerTest.java 6 ●●●● diff | view | raw | blame | history