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

pgamba
20.05.2008 fde8808ecfd108ac1feca9f9cef039164a9de57f
refs
author pgamba <pgamba@localhost>
Thursday, March 20, 2008 09:05 +0100
committer pgamba <pgamba@localhost>
Thursday, March 20, 2008 09:05 +0100
commitfde8808ecfd108ac1feca9f9cef039164a9de57f
tree 6555a9b1b552c43091885885fa8741440f0f17c2 tree | zip | gz
parent 1f164e01309bb6f2bdf7ad3e0dc9f8ec969e63b0 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
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 48 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 205 ●●●●● diff | view | raw | blame | history