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

gbellato
03.35.2008 57a5d60be9679d0870341f5cf0c92e4ad7c1bf22
refs
author gbellato <gbellato@localhost>
Thursday, January 3, 2008 17:35 +0100
committer gbellato <gbellato@localhost>
Thursday, January 3, 2008 17:35 +0100
commit57a5d60be9679d0870341f5cf0c92e4ad7c1bf22
tree 75d73d9990c005a3c29a9de19605b0d3f073f5fa tree | zip | gz
parent 93b35d25ca1affdaed002b9467c3a6b6a369eae4 view | diff
 fix for 2794 : Delete are sometimes not replayed when they immediately follow a moddn

When a delete is done on the new name of an entry immediately after renaming it,
the dependencies between these 2 operations are not detected and the delete
can therefore be replayed without waiting for the moddn to complete.
This cause the delete to fail and not being replayed.

These changes fix the dependency code and add a unit test case allowing
to reproduce the problem.
3 files modified
151 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/RemotePendingChanges.java 6 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java 17 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/DependencyTest.java 128 ●●●●● diff | view | raw | blame | history