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

Multiple bugfixes #823

Merged
merged 3 commits into from
Jun 10, 2018
Merged

Multiple bugfixes #823

merged 3 commits into from
Jun 10, 2018

Conversation

wxing1292
Copy link
Contributor

@wxing1292 wxing1292 commented Jun 7, 2018

bugfix: schedule delete history timer
bugfix: handle workflow current version < last write version, when domain cache is not updated
bugfix: handle workflow domain cache got updated, after domain active check, before mutable state version update

fix #810

bugfix: handle workflow current version < last write version, when domain cache is not updated
bugfix: handle workflow domain cache got updated, after domain active check, before mutable state version update
@wxing1292 wxing1292 requested a review from samarabbas June 7, 2018 17:36
lastWriteVersion := c.msBuilder.GetLastWriteVersion()
activeCluster := c.clusterMetadata.ClusterNameForFailoverVersion(currentVersion)
currentCluster := c.clusterMetadata.GetCurrentClusterName()
if currentVersion < lastWriteVersion {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should make sure to now let CurrentVersion go back to previous value once it detects a higher version.
Once we have this guarantee, then this check is no longer needed.

@samarabbas samarabbas merged commit b7d4dea into master Jun 10, 2018
@samarabbas samarabbas deleted the bugfix-version-check branch June 10, 2018 19:46
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.

Active cluster check should also account for LastWriteVersion before allowing updates
2 participants