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
[improve](txn insert) Txn load support cloud mode #34721
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40555 ms
|
TPC-DS: Total hot run time: 185951 ms
|
8078ba3
to
296f6a1
Compare
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 41166 ms
|
TPC-DS: Total hot run time: 188753 ms
|
296f6a1
to
1fc1a2b
Compare
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
@@ -1332,6 +1332,317 @@ TEST(MetaServiceTest, CommitTxnExpiredTest) { | |||
} | |||
} | |||
|
|||
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) { |
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 'TEST' exceeds recommended size/complexity thresholds [readability-function-size]
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) {
^
Additional context
cloud/test/meta_service_test.cpp:1334: 187 lines including whitespace and comments (threshold 80)
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) {
^
} | ||
} | ||
|
||
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) { |
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 'TEST' exceeds recommended size/complexity thresholds [readability-function-size]
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
Additional context
cloud/test/meta_service_test.cpp:1523: 120 lines including whitespace and comments (threshold 80)
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
1fc1a2b
to
a493ddf
Compare
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
@@ -1332,6 +1332,313 @@ TEST(MetaServiceTest, CommitTxnExpiredTest) { | |||
} | |||
} | |||
|
|||
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) { |
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 'TEST' exceeds recommended size/complexity thresholds [readability-function-size]
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) {
^
Additional context
cloud/test/meta_service_test.cpp:1334: 185 lines including whitespace and comments (threshold 80)
TEST(MetaServiceTest, CommitTxnWithSubTxnTest) {
^
} | ||
} | ||
|
||
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) { |
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 'TEST' exceeds recommended size/complexity thresholds [readability-function-size]
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
Additional context
cloud/test/meta_service_test.cpp:1521: 118 lines including whitespace and comments (threshold 80)
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
run buildall |
TPC-H: Total hot run time: 41841 ms
|
TPC-DS: Total hot run time: 187484 ms
|
ClickBench: Total hot run time: 30.74 s
|
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
} | ||
} | ||
|
||
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) { |
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 'TEST' exceeds recommended size/complexity thresholds [readability-function-size]
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
Additional context
cloud/test/meta_service_test.cpp:1521: 119 lines including whitespace and comments (threshold 80)
TEST(MetaServiceTest, BeginAndAbortSubTxnTest) {
^
run buildall |
4c9df64
to
80a107e
Compare
run buildall |
80a107e
to
94bc14a
Compare
94bc14a
to
16a2691
Compare
run buildall |
TPC-DS: Total hot run time: 182574 ms
|
ClickBench: Total hot run time: 30.28 s
|
run buildall |
TPC-H: Total hot run time: 40766 ms
|
TPC-DS: Total hot run time: 180656 ms
|
ClickBench: Total hot run time: 31.21 s
|
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
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run cloud_p0 cloud_ut |
run cloud_p0 |
run buildall |
TPC-H: Total hot run time: 41995 ms
|
TPC-DS: Total hot run time: 168882 ms
|
ClickBench: Total hot run time: 30.79 s
|
Proposed changes
As the title and leave a todo: Cloud does not support mow table in txn load.
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...