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

mrossign
31.15.2008 4c7d89a5b8f1503bf63988ae13d47d269e1615de
refs
author mrossign <mrossign@localhost>
Friday, October 31, 2008 17:15 +0100
committer mrossign <mrossign@localhost>
Friday, October 31, 2008 17:15 +0100
commit4c7d89a5b8f1503bf63988ae13d47d269e1615de
tree d62e1ac17923088196c68e38256e33e2f1c25648 tree | zip | gz
parent 2593b35e67ae3801bac91a18169bd53f85b80565 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
opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java 137 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java 90 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java 55 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/ProtocolCompatibilityTest.java 55 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/SynchronizationMsgTest.java 64 ●●●● diff | view | raw | blame | history