fast reorg checkpoint has wrong prerequisite #53009
Labels
affects-7.1
affects-7.5
affects-8.1
component/ddl
This issue is related to DDL of TiDB.
severity/major
type/bug
This issue is a bug.
If the checkpoint record shows the it is generated by current node
tidb/pkg/ddl/ingest/checkpoint.go
Lines 307 to 308 in c24dca5
we skip the data whose key is smaller that "local storage key watermark" and assume the data is already stay in local storage.
tidb/pkg/ddl/ingest/checkpoint.go
Lines 128 to 137 in c24dca5
However this is not reliable, especially we are using
/tmp
folder to store the data https://docs.pingcap.com/tidb/stable/command-line-flags-for-tidb-configuration#--temp-dir. If the node restarts in many OS/tmp
folder will be cleaned.The text was updated successfully, but these errors were encountered: