Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,17 @@ private RedoLogSplitReadTask createBackfillRedoLogReadTask(
context.getSourceConfig()
.getDbzConfiguration()
.edit()
.with("table.include.list", split.getTableId().toString())
// It will cause data loss before.
// Because the table name contains the database
// prefix when logminer queries the redo log, but in fact the
// logminer content does not contain the database prefix,
// this will cause the back fill tofail,
// thereby affecting data consistency.
.with(
"table.include.list",
String.format(
"%s.%s",
split.getTableId().schema(), split.getTableId().table()))
// Disable heartbeat event in snapshot split fetcher
.with(Heartbeat.HEARTBEAT_INTERVAL, 0)
.build();
Expand Down