Skip to content
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

Update replication ack level if response has no task #3356

Merged
merged 2 commits into from
Jun 23, 2020

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jun 22, 2020

What changed?
Update replication ack level if response has no task

Why?
if the workflow passed the retention day and got delete, the replication task ack level should be updated.

How did you test it?
Unit test and local tests

Potential risks
N/A

@yux0 yux0 requested a review from yycptt June 22, 2020 21:51
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 67.16% when pulling c648777 on fix_replication_no_task into 33e4a75 on master.

metrics.ReplicatorQueueProcessorScope,
metrics.InstanceTag(strconv.Itoa(p.shard.GetShardID())),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to check gc and cpu usage for this shardID tag. Not sure if it will cause the same thing as adding domain tag to task processing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think replication is this time-sensitive. But we can verify

@yux0 yux0 merged commit 45ac137 into master Jun 23, 2020
@yux0 yux0 deleted the fix_replication_no_task branch June 23, 2020 05:45
yux0 added a commit to yux0/cadence that referenced this pull request May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants