Description
Currently the DocumentNodeStore populates nodeChildrenCache after a commit with entries for leaf nodes. Those cache entries all have a zero length list and are unnecessary, because the underlying document already has a flag, which indicates whether the node is a leaf. The cache entries created for leaf nodes are never used and only flood the cache.