Skip to content

Commit 386cbf1

Browse files
committed
crosscluster/logical: wipe status on clean pause
If the user pauses the LDR job, the status may be stale, like "catching up on 110 out of 230 ranges" Epic: none Release note: none
1 parent 9b3b2bc commit 386cbf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/crosscluster/logical/logical_replication_job.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ func (r *logicalReplicationResumer) handleResumeError(
9898
ctx context.Context, execCtx sql.JobExecContext, err error,
9999
) error {
100100
if err == nil {
101+
r.updateStatusMessage(ctx, "")
101102
return nil
102103
}
103104
if jobs.IsPermanentJobError(err) {

0 commit comments

Comments
 (0)