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

Matthew Swift
23.44.2014 0db1e3229238b97a675ff47cdbe3aad170241dd7
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
commit0db1e3229238b97a675ff47cdbe3aad170241dd7
tree 10359e31aa50877f664bce6f3db4a7032ae03796 tree | zip | gz
parent abc2edefb9bccd6bd07fcfa65aaed66e17abab6f 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
opendj-sdk/opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/PersistitBackendConfiguration.xml 2 ●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/messages/messages/jeb.properties 2 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/persistit/PersistItStorage.java 65 ●●●● diff | view | raw | blame | history