Closed ZuLiangWang closed 10 months ago
@ZuLiangWang After a bit of reviewing, I find the table id is not persisted in the TableAssign
procedure, and table creation may fail if a new table id is allocated in the second retry. And is it true?
@ZuLiangWang After a bit of reviewing, I find the table id is not persisted in the
TableAssign
procedure, and table creation may fail if a new table id is allocated in the second retry. And is it true?
After digging into the code not included by this PR, I find the table id will be fetched from the table meta data, so the second creation will use the same table id as before.
Rationale
Store the intermediate data for table creation through procedures to support idempotent table creation.
Detailed Changes
Test Plan
Pass all unit tests and integration tests.