This is the latest version of the "changelog buffer processing" fixes.
https://fedorahosted.org/389/ticket/48766
https://fedorahosted.org/389/attachment/ticket/48766/0001-reworked-clcach-bu...
The background for the fix is here, I would like to get feedback on this as well to clarify what is unclear http://www.port389.org/docs/389ds/design/changelog-processing-in-repl-state-...