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

gbellato
11.19.2007 88e5620001d65afa8d0d8e07d1361fa44705743e
refs
author gbellato <gbellato@localhost>
Friday, May 11, 2007 15:19 +0200
committer gbellato <gbellato@localhost>
Friday, May 11, 2007 15:19 +0200
commit88e5620001d65afa8d0d8e07d1361fa44705743e
tree 4ba5cec30e45fbd8776a004ce9c1445a3979b714 tree | zip | gz
parent 1df5535a5c4b4641380229517c3bfd33056719d7 view | diff
This code allows the replication code to replay operation in the correct
order when operation have dependencies (like adding child entry after parent)

The operations are first done without checking for dependency and only if
they failed are checked for dependencies and inserted in a list of dependent changes.

More information can be found in issue 612.

This code also set back the number of threads used by the replication to 10 (issue 1568)
17 files modified
3 files added
2385 ■■■■ changed files
opends/src/server/org/opends/server/replication/common/ServerState.java 21 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java 150 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/PendingChange.java 71 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/PendingChanges.java 559 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 428 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/AddMsg.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java 84 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/UpdateMessage.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/DbHandler.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 1 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/DependencyTest.java 553 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java 4 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ProtocolWindowTest.java 26 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReSyncTest.java 86 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java 140 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/SchemaReplicationTest.java 1 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/StressTest.java 25 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 17 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/DomainFakeCfg.java 183 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 20 ●●●● diff | view | raw | blame | history