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

Matthew Swift
23.44.2014 7c39b41031b42da4eb568181d16601ce19f42416
refs
author Matthew Swift <matthew.swift@forgerock.com>
Tuesday, December 23, 2014 13:44 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Tuesday, December 23, 2014 13:44 +0100
commit7c39b41031b42da4eb568181d16601ce19f42416
tree 377396b6d68385b77fbe542338c88a8c18109722 tree | zip | gz
parent 5270dddea42a2cc4e8853131bc71b2bb22f404b2 view | diff
OPENDJ-1713: Persistit: dsconfig configuration properties have no effect

Hook configuration parameters into Persistit so that it is possible to configure the cache utilization and commit policy. It is a bit brittle, but seems to work on my laptop.

The commit policy config may need adjusting: JE provided three settings, effectively NONE, FLUSH, and FSYNC. Persistit has only two settings: FSYNC and non-FSYNC. It's unclear at this stage what the non-FSYNC mode is, i.e. whether it is flushing or not. I've adjusted the default commit policy to be SOFT otherwise full FSYNC is horribly slow.
3 files modified
69 ■■■■ changed files
opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/PersistitBackendConfiguration.xml 2 ●●● diff | view | raw | blame | history
opendj3-server-dev/src/messages/messages/jeb.properties 2 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/backends/persistit/PersistItStorage.java 65 ●●●● diff | view | raw | blame | history