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

gbellato
15.38.2009 2607f5c4a6e156f50caad96beb8328f2540b8eae
refs
author gbellato <gbellato@localhost>
Thursday, January 15, 2009 08:38 +0100
committer gbellato <gbellato@localhost>
Thursday, January 15, 2009 08:38 +0100
commit2607f5c4a6e156f50caad96beb8328f2540b8eae
tree 7f45de9b47fd6a60144d4e1ae941c356897172c0 tree | zip | gz
parent 6f1cda2a279ab79f379481304ff824c93b6df52e 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/Historical.java 22 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 39 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 36 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/service/ReplicationDomainTest.java 28 ●●●●● diff | view | raw | blame | history