Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

v1.2.0

Compare
Choose a tag to compare
@ShiKaiWi ShiKaiWi released this 08 May 06:23
· 91 commits to main since this release
7f1354e

Upgrade Guide

NOTE: this guide is only used for upgrading CeresMeta v1.1.0 to CeresMeta v1.2.0, and ignore it if you want to deploy a brand new CeresMeta cluster with v1.2.0.

  1. We have modified the default data root directory of ETCD, so if you want to be compatible with the previous data, you need to manually specify the path of the ETCD root directory, which is consistent with the previous version. Specifically:
  • Add the config section to your config file
    storage-root-path = "/rootPath"
    

Major Features

  • Support the new mechanism of failover and load balancing.
    • #706 #853 implements the distributed locks for shard based on ETCD, and opening and closing of shards is only allowed with the shard lock held, and after that, data corruption caused by multiple shard leaders will be avoided completely;
    • Support automatic failover of CeresDB nodes, that is to say, the service recovery can be handled automatically without any manual intervention;
    • Support automatic load balance based on consistent hashing, which can ensure that shards are evenly distributed on each node of the cluster when the number of the cluster nodes increases or decreases;

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0