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

pgamba
17.47.2009 ec5699620e0fd235ab9d7a7be97910b1eeb1bced
refs
author pgamba <pgamba@localhost>
Thursday, September 17, 2009 14:47 +0200
committer pgamba <pgamba@localhost>
Thursday, September 17, 2009 14:47 +0200
commitec5699620e0fd235ab9d7a7be97910b1eeb1bced
tree b1f448ce923a40ec256be25c3082a842a15fd949 tree | zip | gz
parent ff24232c35db8b684d5ba165eba219d855b02666 view | diff

The changes contained in the RS have been sent by the DS that connected to it when this DS compared its own state with the state of the RS, and decided to update it with its
missing changes contained in the ds-sync-hist attribute of the changed entries.

As described at
https://www.opends.org/wiki/page/EffectsOfReplicationServerCrashes
the case where a DS updates an empty RS is not a realistic case because it is valid only in a corner case .. and could lead to an update of a massive unexpected number of
changes sent to the RS in all other cases.

So the fix here consists in testing in the DS that the RS is not empty before deciding to send the missing changes.

1 files modified
132 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 132 ●●●● diff | view | raw | blame | history