apache / incubator-horaedb-meta

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

fix: support idempotent drop partition table #224

Closed ZuLiangWang closed 1 year ago

ZuLiangWang commented 1 year ago

Rationale

Since the sub tables of the partition table are distributed on different nodes, some sub tables often fail to be deleted when deleting the partition table. We need to ensure that the deletion of the partition table is idempotent and can be deleted in extreme cases. Partition Table.

Detailed Changes

Ignore the verification of each sub-table when deleting the partition table, try to delete each sub table.

Test Plan

Pass all unit tests and integration test.