Skip to content

Commit

Permalink
Call SetupReplConn in SyncFlow when one-sync disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 15, 2024
1 parent bc4495a commit a0f0642
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flow/activities/flowable.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ func (a *FlowableActivity) SyncFlow(
return nil, err
}
defer connectors.CloseConnector(ctx, srcConn)

if err := srcConn.SetupReplConn(ctx); err != nil {
return nil, err
}
} else {
srcConn, err = a.waitForCdcCache(ctx, sessionID)
if err != nil {
Expand Down

0 comments on commit a0f0642

Please sign in to comment.