Skip to content

[core] Output the relevant table names in the log to assist in troubleshooting the problem. #5557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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 @@ -1318,7 +1318,9 @@ private void assertNoDelete(
"You are writing data to expired partitions, and you can filter this data to avoid job failover."
+ " Otherwise, continuous expired records will cause the job to failover restart continuously."
+ " Expired partitions are: "
+ expiredPartitions);
+ expiredPartitions
+ " ,tableName: "
+ tableName);
}
}
conflictHandler.accept(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ public void testDeleteExpiredPartition() throws Exception {
.hasMessage(
"You are writing data to expired partitions, and you can filter "
+ "this data to avoid job failover. Otherwise, continuous expired records will cause the"
+ " job to failover restart continuously. Expired partitions are: [20230101]");
+ " job to failover restart continuously. Expired partitions are: [20230101] ,tableName: "
+ table.name());
}

private List<String> read() throws IOException {
Expand Down
Loading