Skip to content

(aoe): meta and data replay at startup #106

Closed

Description

@XuPeng-SH

When the engine is closed intentionally or crashed accidentally, it needs to perform the following steps when restarting:

  1. find the latest checkpoint meta-file
  2. cleanup all stale data files and stale meta-file
  3. scan the meta-file to restore a complete meta info in memory
  4. scan the meta info and restore the tables data (not loaded, just registration) in memory
  • skip the segment or block that are not committed (the data was only kept in memtable buffer manager before closed or crashed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/tech-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions