Health Processor (HP) and Replication Multicast Frequency
Swarm's Health Processor (HP) visits every stream on every cycle and checks replication for each one. However, it doesn't always do that by multicast; typically it does that by unicasting to the hints* stored. If HP finds a stream with no hints, so that it can't verify replication by unicast, then it ALWAYS multicasts - it always validates stream replicas regardless of repMulticastFrequency
. repMulticastFrequency
tells it to do a multicast for a certain fraction of streams, REGARDLESS of whether they could be validated with hints. Increasing repMulticastFrequency
will thus will find over-replication (it won't trim excess replicas EXCEPT when it does a multicast), but makes no difference with under-replication.
This parameter can be set as repMulticastFrequency
or health.replicationMulticastFrequency
- the default value is 1 (meaning that HP will use multicast at least 1% of the time, whether it needs to or not).
Note that the Overlay Index, when configured and in an authoritative state, eliminates the need for these multicasts.
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.