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

pgamba
20.24.2008 8d51279ac9c7d0163337175b23f2146e27a72cb8
refs
author pgamba <pgamba@localhost>
Thursday, March 20, 2008 12:24 +0100
committer pgamba <pgamba@localhost>
Thursday, March 20, 2008 12:24 +0100
commit8d51279ac9c7d0163337175b23f2146e27a72cb8
tree fbfd7be8aed5021abff68c491505b394eb0a6bcf tree | zip | gz
parent fde8808ecfd108ac1feca9f9cef039164a9de57f 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 39 ●●●●● diff | view | raw | blame | history