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

pgamba
17.47.2009 9b581fcaa5c5cab99677a3fd043c62260f4dfa7c
refs
author pgamba <pgamba@localhost>
Thursday, September 17, 2009 14:47 +0200
committer pgamba <pgamba@localhost>
Thursday, September 17, 2009 14:47 +0200
commit9b581fcaa5c5cab99677a3fd043c62260f4dfa7c
tree 97d3dee2878e5c75d80983be678f3cff19f7e7d2 tree | zip | gz
parent 4e24692f2faa74bb5abfa8760e03f12ecbd27171 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
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 132 ●●●● diff | view | raw | blame | history