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

gbellato
15.38.2009 75b143a0bff605ca1d48f1fa9571386f95eb0588
refs
author gbellato <gbellato@localhost>
Thursday, January 15, 2009 08:38 +0100
committer gbellato <gbellato@localhost>
Thursday, January 15, 2009 08:38 +0100
commit75b143a0bff605ca1d48f1fa9571386f95eb0588
tree 58aa83ab72f8957bcef295639f88532e19e68c5a tree | zip | gz
parent a33449290d4e6c80d53dd0acd675273045d48ddb view | diff
Fix for issue 3683

When replication replays a DELETE on an entry that has children,
the replication conflict resolution code incorrectly assumes that
this is a conflict.
This is not correct because it is also possible that the delete
was actually a subtree delete.

This can be fixed by checking the creation date of the child entry.
If it was created before the delete then this is not a conflict and the
delete must be replayed as a subtree delete. : Subtree delete only deletes parent on replica
4 files modified
125 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/Historical.java 22 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 39 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 36 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/service/ReplicationDomainTest.java 28 ●●●●● diff | view | raw | blame | history