Skip to content

Commit

Permalink
QRep Initial Copy Only: set status to completed (#2532)
Browse files Browse the repository at this point in the history
Fixes #2515
Like we do in CDC, for QRep mirrors, set the status of the mirror to Completed when it is initial copy only and it completes
  • Loading branch information
Amogh-Bharadwaj authored Feb 5, 2025
1 parent 72126d6 commit e5d8892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/workflows/qrep_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ func QRepFlowWorkflow(
}

if config.InitialCopyOnly {
state.CurrentFlowStatus = protos.FlowStatus_STATUS_COMPLETED
q.logger.Info("initial copy completed for peer flow")
return state, nil
}
Expand Down

0 comments on commit e5d8892

Please sign in to comment.