From 066289040b752a868e5d56ca4908c1167f67c081 Mon Sep 17 00:00:00 2001 From: Kevin Biju Date: Thu, 29 Feb 2024 19:13:15 +0530 Subject: [PATCH] moving to snapshot status when adding table --- 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 382efb3a26..16d5c371f3 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,