Use case :
- Geo location with good connections (<ms)
- cloud deployment on zones
Using sharding-cluster with zones and redundancy.
For example (targeted architecture for Smals) : 2x2 cluster - 2 nodes on each location with sharding-cluster provider and redundancy defined on zones (r=2 => each artifacts written once on each zone).
CrossNetworkStrategy would be improved to look at current node's zone before other available zones.
Two functionalities were added:
1. Ability to have free space and percentages free space write strategies on sharding with zones. Strategies are 'zoneFreeSpace 'zonePercentageFreeSpace'
2. Ability to dynamically add nodes to an existing sharding cluster using the ha-node.properties. To do so, you will need your cluster to already be configured with sharding, and by adding the 'cross.zone.order=east,west' property, the new node will be able to write to the existing cluster nodes without changing the binarystore.xml file