Skip to content

Commit

Permalink
completed status
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 20, 2024
1 parent cd58315 commit b08e9bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flow/workflows/cdc_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ func CDCFlowWorkflow(

// if initial_copy_only is opted for, we end the flow here.
if cfg.InitialSnapshotOnly {
logger.Info("initial snapshot only, ending flow")
state.CurrentFlowStatus = protos.FlowStatus_STATUS_COMPLETED
return state, nil
}
}
Expand Down
1 change: 1 addition & 0 deletions protos/flow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ enum FlowStatus {
STATUS_SNAPSHOT = 5;
STATUS_TERMINATING = 6;
STATUS_TERMINATED = 7;
STATUS_COMPLETED = 8;
}

message CDCFlowConfigUpdate {
Expand Down

0 comments on commit b08e9bb

Please sign in to comment.