{question}
How to add a leaf node?
{question}
{answer}
SingleStore allows you to flexibly add, remove, or replace nodes in the cluster. When adding a leaf node to the cluster, all you need to do is install Singlestore tools to the new server, register the host so the Singlestore tools can manage the new node, create a new Singlestore node, and add this new node as a leaf to the cluster.
Adding a new leaf node to the cluster does not increase the number of partitions. The total number of partitions will remain unchanged, but the existing partitions will be rearranged and moved within the cluster. As a result, each leaf node in the cluster will store an equal number of partitions, and the workload will be distributed evenly across all nodes.
If you want to increase the number of partitions, you have two options. Firstly, you can export the data and recreate the database with the desired number of partitions. Alternatively, you can use the split backup feature to double the number of partitions, process backup with a split partition, and restore the database.
If your cluster is managed by our Kubernetes operator, you can adjust the number of leaf nodes by following the steps outlined here.
Reference
Increase Partitions in Bottomless Database
We have a full step-by-step guide for expanding your cluster by adding more leaves you can follow:
{answer}