apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.

Home Page:https://horaedb.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record the intermediate results of table creation to avoid leakage of table creation

ZuLiangWang opened this issue · comments

Description
CeresMeta refers to HBase's procedureV2 framework to handle table creation failures and retries. However, due to the current incomplete implementation, table creation retries still have problems. We hope to solve the problem of table creation failures in a simple way.

Proposal

  • Supports idempotent table creation, when the table creation fails, the user can successfully create the table by retrying.

Additional context
At present, we tend to record table creation information by maintaining the intermediate results of table creation, which is similar to ProcedureV2, but does not support rollback. Each time a table is created, it checks whether there is the same failed table creation process and initiates a retry.