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

gbellato
05.41.2009 70bf547ea6402ec999fc7b8aff12b77d1a7336eb
refs
author gbellato <gbellato@localhost>
Thursday, March 5, 2009 15:41 +0100
committer gbellato <gbellato@localhost>
Thursday, March 5, 2009 15:41 +0100
commit70bf547ea6402ec999fc7b8aff12b77d1a7336eb
tree 380e31b20f42c53717c25be9fe5feddfdd2de963 tree | zip | gz
parent 7d73c6090e2e4efa33449aaafeed050b9319196f view | diff
Fix for 3844 : ReplicationDomain.publish can loose changes when called by several thread.

Some locking must be done between the Generation of the ChangeNumber
and the call to broker.publish() because the broker does not do any
re-ordering and the ReplicationServer expect to receive the Changes
in the order defined by the ChangeNumber
1 files modified
16 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java 16 ●●●●● diff | view | raw | blame | history