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

mrossign
31.15.2008 b86b7b939d4fb1f3aa3a390d20352e7a16d86ef7
refs
author mrossign <mrossign@localhost>
Friday, October 31, 2008 17:15 +0100
committer mrossign <mrossign@localhost>
Friday, October 31, 2008 17:15 +0100
commitb86b7b939d4fb1f3aa3a390d20352e7a16d86ef7
tree 3feef23317ee109f759c1207fa1c00fdce16b497 tree | zip | gz
parent 931bf266298defb19d6d66667e6815409db883ed view | diff
Partial fix for #3525: Attribute modifications are not replicated for modDN operations
Warning: ModifyDNMsg PDU is updated and modifications are exchanged through the replication network.
However at replay time, the moddn operation is re-created with the modifications, but they cannot be replayed at this time:
The comment of the addModification() method for ModifyDNOperation states that "This should only be called by pre-operation plugins"

So either some modifs are to be done on core side, or we may put the modifications in the operaton context and intercept the replay
at the pre-op stage and effectively replay the modifications at this time.

...to be discussed.
1 files added
5 files modified
403 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java 137 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java 90 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java 55 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/ProtocolCompatibilityTest.java 55 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/SynchronizationMsgTest.java 64 ●●●● diff | view | raw | blame | history