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

pgamba
20.24.2008 dee47f1d4ba46c774010e87f282f7a54bdba27b9
refs
author pgamba <pgamba@localhost>
Thursday, March 20, 2008 12:24 +0100
committer pgamba <pgamba@localhost>
Thursday, March 20, 2008 12:24 +0100
commitdee47f1d4ba46c774010e87f282f7a54bdba27b9
tree 48251e27ccbb6101e087d7c572a805cadd741911 tree | zip | gz
parent bbdea5461dbaf2a6aabe39efe4072ded78e4105a view | diff
 Fix 2911 dsreplication pre/post-external initialisation fails to clear all the changelogs

Reminder: Inside the ReplicationDomain (plugin) the 'generation ID' and 'server State' both define the state of the server regarding the change occurred in the topology. The 'generation ID' defines the start point. The 'server
State' defines an increment, and has a sense for the given generation ID.Thus the life cycle (loading/resetting) for the generation ID and state should be the same.

In particular at the end of an import, the generation ID is loaded or computed from the new data set.
The server Sate must be loaded or reinitialized the same way and this is not the case currently. That is what these changes fix.

1 files modified
39 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 39 ●●●●● diff | view | raw | blame | history