: never keep a <str name="maxOptimizedCommitsToKeep">0</str>. : : It is better to leave not mention the deletionPolicy at all. The : defaults are usually fine.
if setting the "keep" values to 0 results in NPEs we should do one (if not both) of the following... 1) change the init code to warn/fail if the values are 0 (not sure if there is ever a legitimate use for 0 as a value) 2) change the code that's currently throwing an NPE to check it's assumptings and log a more meaninful error if it can't function because of the existing config. -Hoss