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

gbellato
29.54.2007 6727fbc1a159686d355716af0f6d6815bf4054f0
refs
author gbellato <gbellato@localhost>
Tuesday, May 29, 2007 10:54 +0200
committer gbellato <gbellato@localhost>
Tuesday, May 29, 2007 10:54 +0200
commit6727fbc1a159686d355716af0f6d6815bf4054f0
tree c714b58ee22cf636fbf29797ba3b61185b232bbf tree | zip | gz
parent 3893ca0582b7d55356be3d7acede9141527ef2da 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/Historical.java 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 42 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java 12 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java 63 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 160 ●●●●● diff | view | raw | blame | history