Skip to content

Conversation

@zzzxl1993
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

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...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zzzxl1993
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

tablet->set_cumulative_layer_point(output_rowset->end_version() + 1);
}

void TimeSeriesCumulativeCompactionPolicy::update_compaction_level(
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: method 'update_compaction_level' can be made static [readability-convert-member-functions-to-static]

Suggested change
void TimeSeriesCumulativeCompactionPolicy::update_compaction_level(
static void TimeSeriesCumulativeCompactionPolicy::update_compaction_level(

Comment on lines +918 to +919
if (a._time_series_compaction_level_threshold != b._time_series_compaction_level_threshold)
return false;
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: statement should be inside braces [readability-braces-around-statements]

Suggested change
if (a._time_series_compaction_level_threshold != b._time_series_compaction_level_threshold)
return false;
if (a._time_series_compaction_level_threshold != b._time_series_compaction_level_threshold) {
return false;
}

Copy link
Contributor

@xiaokang xiaokang 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

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Mar 21, 2024
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xiaokang xiaokang merged commit 2a7db2a into apache:branch-2.1 Mar 21, 2024
@xiaokang
Copy link
Contributor

#31488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. meta-change reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants