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

gbellato
03.35.2008 dd9090e630e82d58abdc1bfea933bbe02a3a2485
refs
author gbellato <gbellato@localhost>
Thursday, January 3, 2008 17:35 +0100
committer gbellato <gbellato@localhost>
Thursday, January 3, 2008 17:35 +0100
commitdd9090e630e82d58abdc1bfea933bbe02a3a2485
tree 4a9e47d4b399bf1b792cabee67cc52e29965344a tree | zip | gz
parent 3556ad0275d7271b6533569ac72cb741abdb0b81 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
opends/src/server/org/opends/server/replication/plugin/RemotePendingChanges.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java 17 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/DependencyTest.java 128 ●●●●● diff | view | raw | blame | history