-
Notifications
You must be signed in to change notification settings - Fork 412
Some data may be lost if a table is flashed back #1007
Copy link
Copy link
Closed
Labels
priority/P1The issue has P1 priority.The issue has P1 priority.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
https://github.com/pingcap/tics/blob/33678430328cfee1b63750841419a3b70a4d528c/dbms/src/Storages/Transaction/PartitionStreams.cpp#L33-L41
Was introduced by #599.
The actions between applying raft log and schema changes are not strictly synchronized. There could be a chance that some raft logs come after a table gets tombstoned. If we drop those data once a table gets tombstoned, then some data may be lost after that table is flashed back later. @zanmato1984
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority/P1The issue has P1 priority.The issue has P1 priority.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.