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

Refactor the cluster metadata manager.

Open chunshao90 opened this issue 2 years ago • 0 comments

Description With the addition of the cluster scheduling module, the current cluster metadata management is somewhat confusing.

Proposal

  • [x] Define the memory data structure corresponding to pb.
  • [x] Refactor MetaStorage interface with the memory data structure instead of pb.
  • [ ] Modify naming of struct in storage pb to make it easier to understand.
  • [ ] Extract cluster metadata management into a separate module, simplifying cluster module operations.

Additional context

chunshao90 avatar Nov 02 '22 08:11 chunshao90