zettadb / cluster_mgr

Clust_mgr is an important compnent of KunlunBase. It provides a HTTP API for KunlunBase users to do cluster management, provisioning and monitor work, so that uses can install a cluster, a kunlun-server node, a storage shard or a kunlun-storage node by calling such APIs. Such capability enables users to integrate KunlunBase management and provisioning as part of their existing application or GUIs. Cluster_mgr also provide other important cluster maintenance background work to make sure the KunlunBase clusters it serves can work efficiently and reliably.
http://www.kunlunbase.com
Apache License 2.0
10 stars 2 forks source link

kunlun-cluster backup and restore #44

Open jd-zhang opened 3 years ago

jd-zhang commented 3 years ago

Issue migrated from trac ticket # 159 www.kunlunbase.com

component: cluster manager | priority: major

2021-09-13 14:39:06: snow@zettadb.com created the issue


Kunlun-cluster Global consistent restoration## Description

实现 kunlun-cluster 的全局一致性回档

Requirement

在给定回档时间点 T-restore 的前提下,从原始集群 k-origin 的备份文件(冷备+binlog)中完成回档操作的新集群 k-new 需满足下列要求:\ 1、k-new 中所有的 shard 分片上已提交的事务,其在 k-origin 的 commit-log 的写入时间均小于或者等于 T-restore。\ 2、k-new 中,不存在在 k-origin 的 commit-log 中不存在的 xid 事务。\ 3、k-new 中所有的 shard 分片上,没有处于未提交状态或者 prepared 状态的事务。\

High and Low level architecture

One should be described in wiki pages. wiki:[http://192.168.0.104:10000/trac/wiki/BackupAndRestore]

jd-zhang commented 3 years ago

2021-09-13 14:40:38: snow@zettadb.com changed component from DBA GUI to cluster manager

jd-zhang commented 3 years ago

2021-09-13 14:40:38: snow@zettadb.com

jd-zhang commented 3 years ago

2021-09-13 14:40:38: snow@zettadb.com set owner to snow

jd-zhang commented 3 years ago

2021-09-13 14:40:38: snow@zettadb.com changed status from new to assigned

jd-zhang commented 3 years ago

2021-09-13 14:41:59: snow@zettadb.com changed type from defect to enhancement

jd-zhang commented 3 years ago

2021-09-13 20:30:23: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-13 20:31:07: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-14 09:41:19: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-14 09:46:45: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-14 09:47:49: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-14 10:14:48: snow@zettadb.com edited the issue description

jd-zhang commented 3 years ago

2021-09-14 10:17:02: snow@zettadb.com edited the issue description

jd-zhang commented 2 years ago

2021-11-04 14:57:17: zhangjindong@zettadb.com