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

domain: fix updating the self schema version and update log #10324

Merged
merged 4 commits into from
May 6, 2019

Conversation

zimulala
Copy link
Contributor

What problem does this PR solve?

Updating the self-schema version to etcd is wrong when executing GetSnapshotInfoSchema.

What is changed and how it works?

If the neededSchemaVersion isn't the latest schema version.
Update the logs and rename ”latestSchemaVersion“ to ” neededSchemaVersion“

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch

@zimulala zimulala added the type/bugfix This PR fixes a bug. label Apr 30, 2019
@zimulala
Copy link
Contributor Author

/run-all-tests

@codecov
Copy link

codecov bot commented Apr 30, 2019

Codecov Report

Merging #10324 into master will increase coverage by 0.0118%.
The diff coverage is 86.9565%.

@@               Coverage Diff                @@
##             master     #10324        +/-   ##
================================================
+ Coverage   77.6707%   77.6825%   +0.0118%     
================================================
  Files           411        411                
  Lines         85435      85413        -22     
================================================
- Hits          66358      66351         -7     
+ Misses        14112      14103         -9     
+ Partials       4965       4959         -6

Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@zimulala zimulala added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 30, 2019
Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

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

LGTM

@shenli shenli added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants