incubator-horaedb-meta icon indicating copy to clipboard operation
incubator-horaedb-meta copied to clipboard

Add data persistence implementation for procedure

Open ZuLiangWang opened this issue 2 years ago • 0 comments

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

ZuLiangWang avatar Sep 27 '22 02:09 ZuLiangWang