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

Nicolas Capponi
28.06.2014 46fd417d0e5ad8f88c54979cd01ae89165d92c5c
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Wednesday, May 28, 2014 14:06 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Wednesday, May 28, 2014 14:06 +0200
commit46fd417d0e5ad8f88c54979cd01ae89165d92c5c
tree 250bb0253a38ae05d86eb36e3a1fb3cdbabe864f tree | zip | gz
parent a1afc5123cc95ba841f0ac3d75f0d1d9d75928dd view | diff
OPENDJ-1482 : SEVERE_ERROR (cursor still opened on the log) when running
replication topology with file-based changelog

The root cause is that records may be appended more than once to the
changelog and in an order that is breaking the key ordering.

Update Log.java to reject any append of a record that has a key that would
break the ordering of records in the log (ie, key lower than or equal to the last
key appended).
1 files modified
34 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/changelog/file/Log.java 34 ●●●●● diff | view | raw | blame | history