-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lift SyncFlowWorkflow into activity entirely #2371
Conversation
@@ -554,12 +546,6 @@ func CDCFlowWorkflow( | |||
|
|||
if shared.ShouldWorkflowContinueAsNew(ctx) { | |||
restart = true | |||
if syncFlowFuture != nil { | |||
if err := model.SyncStopSignal.SignalChildWorkflow(ctx, syncFlowFuture, struct{}{}).Get(ctx, nil); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to decide whether cdc_flow restarts hard pause sync flow, otherwise have to setup a whole session state thing so workflow can signal activity to shutdown
249fc44
to
deac49b
Compare
deac49b
to
0c551fb
Compare
b5b8c97
to
cdb3f8f
Compare
tested StartToCloseTimeout being hit (1 year in this PR). Result is activity retries. So that's fine |
d4f9da2
to
a16e168
Compare
important once #2371 prevents seeing batch history in temporal
d22fc5d
to
75c035a
Compare
code looks fine, but need extensive testing due to niche cases |
allowing frequent sync batch frequency without need to reconect
467fd28
to
85dbc04
Compare
No description provided.