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

gbellato
03.00.2008 93b35d25ca1affdaed002b9467c3a6b6a369eae4
refs
author gbellato <gbellato@localhost>
Thursday, January 3, 2008 15:00 +0100
committer gbellato <gbellato@localhost>
Thursday, January 3, 2008 15:00 +0100
commit93b35d25ca1affdaed002b9467c3a6b6a369eae4
tree b173c0cdfc65e809e6f1d3350a020c265ac360a1 tree | zip | gz
parent ceb04ed67298012a978273dd865ff14ba83ee769 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/DbHandler.java 8 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDbEnv.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 99 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerHandler.java 23 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerReader.java 49 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 69 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/DbHandlerTest.java 6 ●●●● diff | view | raw | blame | history