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

gbellato
29.54.2007 f3dc499e33a30624308da4b2927e0d54331ce0c2
refs
author gbellato <gbellato@localhost>
Tuesday, May 29, 2007 10:54 +0200
committer gbellato <gbellato@localhost>
Tuesday, May 29, 2007 10:54 +0200
commitf3dc499e33a30624308da4b2927e0d54331ce0c2
tree 5e9decf2ab1e50324d3daa2e2d280ced622a662e tree | zip | gz
parent 910e8d26b1706fab50cfbd68f83d20f7663a6f40 view | diff

Contribution commit from Chris Drake for issue 1103 : Add monitor data for naming/modify conflicts
This makes available 3 new counters in the replication monitoring information providing :
- the number of unresolved naming conflicts since last startup : unresolved-naming-conflicts
- the number of resolved naming conflicts since last startup : resolved-naming-conflicts
- the number of resolved modify conflicts since ast startup : resolved-modify-conflicts

Note that modify conflicts are always resolved automatically.
Also note that these counters are reset when the server is restarted.

This commit also include a new test for modify conflicts with some checks of the counters values
and update to the naming conflict test in order to test the counter implementation.

Thanks again to Chris
5 files modified
283 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/Historical.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 42 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java 12 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java 63 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 160 ●●●●● diff | view | raw | blame | history