From 449b86fb7c52fe2a93d07af048fed3d3cd1778b4 Mon Sep 17 00:00:00 2001 From: Kevin Biju <52661649+heavycrystal@users.noreply.github.com> Date: Fri, 1 Mar 2024 02:26:01 +0530 Subject: [PATCH] moving to snapshot status when adding table (#1404) Co-authored-by: Kaushik Iska --- flow/workflows/cdc_flow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/flow/workflows/cdc_flow.go b/flow/workflows/cdc_flow.go index 1d4f2bea30..c9825d4e80 100644 --- a/flow/workflows/cdc_flow.go +++ b/flow/workflows/cdc_flow.go @@ -157,6 +157,7 @@ func (w *CDCFlowWorkflowExecution) processCDCFlowConfigUpdate(ctx workflow.Conte w.logger.Warn("duplicate source/destination tables found in additionalTables") return nil } + state.CurrentFlowStatus = protos.FlowStatus_STATUS_SNAPSHOT alterPublicationAddAdditionalTablesCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{ StartToCloseTimeout: 5 * time.Minute,