apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.
https://horaedb.apache.org
Apache License 2.0
27 stars 15 forks source link

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

Open ZuLiangWang opened 1 year ago

ZuLiangWang commented 1 year ago

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

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.