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

Use latest replication task time as sync shard time #3722

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Dec 16, 2022

What changed?
Use latest replication task time as sync shard time

Why?
It should use latest replication task visibility time. This represents the lag on replication. If the replication task is empty, then it can use the cluster local time.

How did you test it?

Potential risks

Is hotfix candidate?

@yux0 yux0 requested review from meiliang86 and yycptt December 16, 2022 22:54
@yux0 yux0 requested a review from a team as a code owner December 16, 2022 22:54
Copy link
Member

@yycptt yycptt left a comment

Choose a reason for hiding this comment

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

Synced offline. This pr is a noop for now, but is needed later when fixing standby task verification logic.

@yux0 yux0 merged commit 3a322bb into temporalio:master Dec 22, 2022
@yux0 yux0 deleted the sync-shard branch December 22, 2022 18:59
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.

2 participants