According to the design-location document (Improving location awareness)
cluster metric is extended by the component
- The number of pairs of exclusion tags and common-failure tags where
there exist at least two instances with the given exclusion tag with
the primary node having the given common-failure tag.
Also this patch fixes Statistics.hs test in order to work with new
Statistics because the test is broken by the changes in Statistics.hs.
Signed-off-by: Oleg Ponomarev <email@example.com>
Signed-off-by: Klaus Aehlig <firstname.lastname@example.org>
Reviewed-by: Klaus Aehlig <email@example.com>