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

ian.packer
23.10.2016 c35cd58f1b2cf662cbdbb531ee80f676d87ba0de
refs
author ian.packer <ian.packer@forgerock.com>
Tuesday, February 23, 2016 13:10 +0100
committer ian.packer <ian.packer@forgerock.com>
Thursday, February 25, 2016 15:21 +0100
commitc35cd58f1b2cf662cbdbb531ee80f676d87ba0de
tree d1df43cfe6ed6c0957790e91d5bd1a9162b6df0a tree | zip | gz
parent 684830f9e78326aba7a0140444c0e41dcfaff809 view | diff
OPENDJ-2446: Improve the scalability of the dsreplication purge-historical task

* Use paging control on the internal search to reduce memory consumption of this task.
* Only run modify operations against entries if their historical attr value is really being changed (significant performance improvement).
* Amended Javadoc to describe what purgeConflictsHistorical actually does.
* lastCSNPurgedFromHist is now much more accurate. Previously it could be set to a CSN that was checked but not actually purged. This means that repeated running of the task is more reliable.
* Reset lastCSNPurgedFromHist after a full run completes successfully.
1 files modified
137 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/LDAPReplicationDomain.java 137 ●●●●● diff | view | raw | blame | history