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

[refactor](stats) Migrate stats framework from master to branch 2.0 #25119

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

Kikyou1997
Copy link
Contributor

@Kikyou1997 Kikyou1997 commented Oct 8, 2023

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 [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions github-actions bot added area/nereids area/planner Issues or PRs related to the query planner kind/test labels Oct 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

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;
Copy link
Contributor

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

@@ -844,6 +846,21 @@ public void readFields(DataInput in) throws IOException {
isRead = true;
break;
}
case OperationType.OP_UPDATE_TABLE_STATS: {
data = TableStatsMeta.read(in);
Copy link
Contributor

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.

@@ -1091,7 +1091,7 @@ struct TGetBinlogLagResult {

struct TUpdateFollowerStatsCacheRequest {
1: optional string key;
2: optional string colStats;
2: list<string> statsRows;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it compatible?

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@morningman morningman merged commit 4b6ff32 into apache:branch-2.0 Oct 13, 2023
13 of 15 checks passed
Kikyou1997 pushed a commit to Kikyou1997/incubator-doris that referenced this pull request Oct 13, 2023
morningman pushed a commit that referenced this pull request Oct 13, 2023
…er to branch 2.0 (#25119)" (#25403)

This reverts commit 4b6ff32.

Co-authored-by: AKIHA <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nereids area/planner Issues or PRs related to the query planner dev/2.0.3-merged kind/test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants