Skip to content

Forced start of the history archiver or deleting workflow history immediately #4465

Answered by yycptt
ceearrashee asked this question in Q&A
Discussion options

You must be logged in to vote

I have sent out a PR (#4472) for fixing workflow refresh for closed workflows. So after domain retention is updated, refresh the workflow will archive the workflow if the new retention has passed.

Here's an example:

➜  cadence (fix-close-workflow-refresh) ✔ ./cadence --do samples-domain d re 
Domain samples-domain successfully registered.
➜  cadence (fix-close-workflow-refresh) ✔ ./cadence --do samples-domain d desc
Name: samples-domain
UUID: db54542b-47bb-4e92-a82e-438bf1712b24
Description: 
OwnerEmail: 
DomainData: map[]
Status: REGISTERED
RetentionInDays: 3
EmitMetrics: true
IsGlobal(XDC)Domain: true
ActiveClusterName: cluster0
Clusters: cluster0
HistoryArchivalStatus: ENABLED
HistoryA…

Replies: 8 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ceearrashee
Comment options

@longquanzheng
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@longquanzheng
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ceearrashee
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ceearrashee
Comment options

@longquanzheng
Comment options

@longquanzheng
Comment options

@ceearrashee
Comment options

@longquanzheng
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants