HomeClusterLabs Projects

High: Core: Strip text nodes from on disk xml files

Description

High: Core: Strip text nodes from on disk xml files

libxml2's parser treats the whitespace between:

<tag>
</tag>

as significant.

This affects the output which we use for calculating the CIB digests.
In some situations, this can result in the CIB needing a full sync
to all nodes after every update - and lots of CPU - even though the
content we care about is the same.

No part of the system uses text nodes, so they are safe to remove
unconditionally.

Details

Provenance
Andrew Beekhof <andrew@beekhof.net>Authored on Jan 20 2012, 5:51 PM
Parents
rPf7879c0b7e89: Medium: Fencing: Only initiate logging for the lrm plugin once
Branches
Unknown
Tags
Unknown

Event Timeline