-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[opt](merge-on-write) Skip the alignment process of some rowsets in partial update #38487 #38686
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
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.
clang-tidy made some suggestions
@@ -165,6 +165,7 @@ class Rowset : public std::enable_shared_from_this<Rowset> { | |||
bool is_segments_overlapping() const { return rowset_meta()->is_segments_overlapping(); } | |||
KeysType keys_type() { return _schema->keys_type(); } | |||
RowsetStatePB rowset_meta_state() const { return rowset_meta()->rowset_state(); } | |||
bool produced_by_compaction() const { return rowset_meta()->produced_by_compaction(); } |
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.
warning: function 'produced_by_compaction' should be marked [[nodiscard]] [modernize-use-nodiscard]
bool produced_by_compaction() const { return rowset_meta()->produced_by_compaction(); } | |
; }[[nodiscard]] |
@@ -302,6 +302,12 @@ class RowsetMeta { | |||
return num_segments() > 1 && is_singleton_delta() && segments_overlap() != NONOVERLAPPING; | |||
} | |||
|
|||
bool produced_by_compaction() const { |
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.
warning: function 'produced_by_compaction' should be marked [[nodiscard]] [modernize-use-nodiscard]
bool produced_by_compaction() const { | |
[[nodiscard]] bool produced_by_compaction() const { |
run buildall |
TPC-H: Total hot run time: 49933 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 204996 ms
|
ClickBench: Total hot run time: 30.27 s
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
run p0 |
run p1 |
2 similar comments
run p1 |
run p1 |
84a410a
to
0f63bcf
Compare
run buildall |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 50139 ms
|
TPC-DS: Total hot run time: 204038 ms
|
ClickBench: Total hot run time: 30.65 s
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
…artial update apache#38487 (apache#38686) ## Proposed changes picks apache#38487 regression cases are commented currently.
Proposed changes
picks #38487
regression cases are commented currently.