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

Ludovic Poitou
01.57.2011 57b55877fc72c576cf7af0cf677fe456ec35f170
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, March 1, 2011 12:57 +0100
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, March 1, 2011 12:57 +0100
commit57b55877fc72c576cf7af0cf677fe456ec35f170
tree 9b58ed501ff351e9adf96edd2aa67fb639799f66 tree | zip | gz
parent e6412a0c0bb2e2ebc35380ed884bea345cf4742e view | diff
Fix for defect OPENDJ-80: Draft change log DB handler thread spins constantly when the draft change log is big
The clear method was iterating through all changes regardless the age of changeNumber and the ServerState.
Now it'll stop cleaning when reaching the first changeNumber younger.
2 files modified
22 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/DraftCNDbHandler.java 20 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationIterator.java 2 ●●● diff | view | raw | blame | history