incubator-horaedb-meta
incubator-horaedb-meta copied to clipboard
Add data persistence implementation for procedure
Description
In order to achieve disaster recovery of shard operation, we need to support the persistent storage of Procedure
. When CeresMeta restarts each time, the data of Procedure
is loaded and scheduled.
Proposal
- [x] Implementation of procedure storage based on
etcd
, and expose appropriate interfaces externally. - [ ] Use the interface provided by storage in
Procedure
to realize data persistence. - [ ] Reload and continue to execute
Procedure
when the CeresMeta node restarts.
Additional context