Skip to content

Commit

Permalink
[FLINK-36772][mysql][cdc-base] Fix error placeholder for errorMessage…
Browse files Browse the repository at this point in the history
…Template of Preconditions

This closes  #3754
  • Loading branch information
gong authored Nov 22, 2024
1 parent d0b2fe3 commit 1d4e366
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,15 @@ public AssignerStatus getAssignerStatus() {
@Override
public void startAssignNewlyAddedTables() {
Preconditions.checkState(
isAssigningFinished(assignerStatus), "Invalid assigner status {}", assignerStatus);
isAssigningFinished(assignerStatus), "Invalid assigner status %s", assignerStatus);
assignerStatus = assignerStatus.startAssignNewlyTables();
}

@Override
public void onStreamSplitUpdated() {
Preconditions.checkState(
isNewlyAddedAssigningSnapshotFinished(assignerStatus),
"Invalid assigner status {}",
"Invalid assigner status %s",
assignerStatus);
assignerStatus = assignerStatus.onStreamSplitUpdated();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public AssignerStatus getAssignerStatus() {
public void startAssignNewlyAddedTables() {
Preconditions.checkState(
AssignerStatus.isAssigningFinished(assignerStatus),
"Invalid assigner status {}",
"Invalid assigner status %s",
assignerStatus);
assignerStatus = assignerStatus.startAssignNewlyTables();
}
Expand All @@ -480,7 +480,7 @@ public void startAssignNewlyAddedTables() {
public void onBinlogSplitUpdated() {
Preconditions.checkState(
AssignerStatus.isNewlyAddedAssigningSnapshotFinished(assignerStatus),
"Invalid assigner status {}",
"Invalid assigner status %s",
assignerStatus);
assignerStatus = assignerStatus.onBinlogSplitUpdated();
}
Expand Down

0 comments on commit 1d4e366

Please sign in to comment.