Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
Enable Master Aggregator High Availability
To enable high availability for the Master Aggregator (MA HA), set masterAggregatorSpec. to the desired number of Master Aggregator replicas in the sdb-cluster. cluster custom resource (CR) file.
spec:masterAggregatorSpec:count: 3
SingleStore recommends an odd number of Master Aggregator replicas.count ≥ 2 can form a quorum (quorum size is floor(n/2) + 1), but even counts do not improve failure tolerance over the next-lower odd count.
For improved fault tolerance, configure pod scheduling so that Master Aggregator pods are not scheduled on the same host.
After you apply the cluster custom resource, verify that MA HA is enabled:
SHOW VARIABLES LIKE 'consensus_enabled';SHOW AGGREGATORS EXTENDED;
The following are the expected results:
-
consensus_isenabled ON. -
One Master Aggregator is the leader.
-
The remaining Master Aggregators are voting members.
With MA HA enabled, if the current leader fails, another voting Master Aggregator replica is automatically promoted to leader.
Last modified: