-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[refactor](stats) Migrate stats framework from master to branch 2.0 #25119
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
Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
|
|
||
| // note: when increment meta version, should assign the latest version to VERSION_CURRENT | ||
| public static final int VERSION_CURRENT = VERSION_123; | ||
| public static final int VERSION_CURRENT = VERSION_124; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can not pick to branch 2.0 if meta version is changed
| break; | ||
| } | ||
| case OperationType.OP_UPDATE_TABLE_STATS: { | ||
| data = TableStatsMeta.read(in); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we write this new meta data , and downgrade to old version, it may cause problem because the old version can not recognize this kind of meta data.
| struct TUpdateFollowerStatsCacheRequest { | ||
| 1: optional string key; | ||
| 2: optional string colStats; | ||
| 2: list<string> statsRows; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it compatible?
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
morningman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
…er to branch 2.0 (apache#25119)" This reverts commit 4b6ff32.
Proposed changes
This PR is composed of belowing commits which has been merged to Doirs master:
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...