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

pgamba
20.05.2008 bbdea5461dbaf2a6aabe39efe4072ded78e4105a
refs
author pgamba <pgamba@localhost>
Thursday, March 20, 2008 09:05 +0100
committer pgamba <pgamba@localhost>
Thursday, March 20, 2008 09:05 +0100
commitbbdea5461dbaf2a6aabe39efe4072ded78e4105a
tree 4319102c41e0564d95a5993beab83de79c32d669 tree | zip | gz
parent 94502a1fdf41451d43080e1596c7b491743039f2 view | diff
Fix 3053 Changes lost after dsreplication initialize
Description
In the Replication Server, reseting generation ID must clear the database of changes ONLY if the replication server has not the same generation ID has the one set by the reset message.

Test
Some checks have been added in the generationIdTest in order to test these changes.
The generationIdTest test has been reworked and better commenthave been added.



2 files modified
253 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 48 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 205 ●●●●● diff | view | raw | blame | history