Tracking issue for sink returning inaccurate checkpoints #3545
Labels
affects-4.0
affects-5.0
affects-5.1
affects-5.2
affects-5.3
area/ticdc
Issues or PRs related to TiCDC.
component/sink
Sink component.
severity/moderate
type/bug
The issue is confirmed as a bug.
In the current implementation (11/20/2021), when a table flushes its' sink, sink may return a checkpoint that is larger than resolved ts.
It can easily be reproduced when tables in a "slow" TiCDC node, whose checkpoint is Tca, are scheduled to a "faster" TiCDC node, whose checkpoint is Tcb, and Tca < Tcb .
Combine with #3029 and #2617, it can easily cause data lose and changefeed stuck when a "slow" is killed, e.g.,
Sink must return accurate checkpoint for each table. It is hard to implement with the current interface design, especially when a sink is shared by multiple tables.
PRs:
The text was updated successfully, but these errors were encountered: