You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Yukang-Lian (via GitHub)" <gi...@apache.org> on 2023/11/13 12:57:03 UTC
[PR] [Fix](wal) Fix wal space back pressure core [doris]
Yukang-Lian opened a new pull request, #26907:
URL: https://github.com/apache/doris/pull/26907
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
F20231113 19:23:15.223846 97124 wal_manager.cpp:264] Check failed: _all_wal_disk_bytes->load(std::memory_order_relaxed) == 0 (195248 vs. 0)
*** Check failure stack trace: ***
@ 0x55fa173181e6 google::LogMessageFatal::~LogMessageFatal()
@ 0x55f9ed1dfef0 doris::WalManager::delete_wal()
@ 0x55f9ed3399ee doris::GroupCommitTable::_finish_group_commit_load()
@ 0x55f9ed342e9b std::_Function_handler<>::_M_invoke()
@ 0x55f9ed2232dd doris::FragmentMgr::_exec_actual()
@ 0x55f9ed24b897 std::_Function_handler<>::_M_invoke()
@ 0x55f9ed9d31ed doris::ThreadPool::dispatch_thread()
@ 0x55f9ed9afb54 doris::Thread::supervise_thread()
@ 0x7f1f5119d609 start_thread
@ 0x7f1f5144a133 clone
@ (nil) (unknown)
*** Query id: 134f683a46909868-4de91b9c81f032aa ***
*** tablet id: 0 ***
*** Aborted at 1699874595 (unix time) try "date -d @1699874595" if you are using GNU date ***
*** Current BE git commitID: 5dee24f ***
*** SIGABRT unknown detail explain (@0x179ea) received by PID 96746 (TID 97124 OR 0x7f1d212f1700) from PID 96746; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:417
1# 0x00007F1F5136E090 in /lib/x86_64-linux-gnu/libc.so.6
2# raise at ../sysdeps/unix/sysv/linux/raise.c:51
3# abort at /build/glibc-SzIz7B/glibc-2.31/stdlib/abort.c:81
4# 0x000055FA1731F0ED in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
5# google::LogMessage::SendToLog() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
6# google::LogMessage::Flush() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
7# google::LogMessageFatal::~LogMessageFatal() in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
8# doris::WalManager::delete_wal(long) in /mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be
9# doris::GroupCommitTable::_finish_group_commit_load(long, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long, doris::TUniqueId const&, doris::Status&, bool, doris::RuntimeState*) at /root/doris/be/src/runtime/group_commit_mgr.cpp:351
10# std::_Function_handler<void (doris::RuntimeState*, doris::Status*), doris::GroupCommitTable::_exec_plan_fragment(long, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long, bool, doris::TExecPlanFragmentParams const&, doris::TPipelineFragmentParams const&)::$_0>::_M_invoke(std::_Any_data const&, doris::RuntimeState*&&, doris::Status*&&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
11# doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::PlanFragmentExecutor>, std::function<void (doris::RuntimeState*, doris::Status*)> const&) at /root/doris/be/src/runtime/fragment_mgr.cpp:462
12# std::_Function_handler<void (), doris::FragmentMgr::exec_plan_fragment(doris::TExecPlanFragmentParams const&, std::function<void (doris::RuntimeState*, doris::Status*)> const&)::$_0>::_M_invoke(std::_Any_data const&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
13# doris::ThreadPool::dispatch_thread() at /root/doris/be/src/util/threadpool.cpp:551
14# doris::Thread::supervise_thread(void*) at /root/doris/be/src/util/thread.cpp:495
15# start_thread at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:478
16# __clone at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "Yukang-Lian (via GitHub)" <gi...@apache.org>.
Yukang-Lian commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808116477
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808327699
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808189759
<details>
<summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
```
Tpch sf100 test result on commit cabcd9be9e4ca6e2098b8cac5de932d9875f89ee, data reload: false
run tpch-sf100 query with default conf and session variables
q1 5283 5210 5145 5145
q2 358 146 178 146
q3 2055 2035 1989 1989
q4 1399 1376 1375 1375
q5 4002 3972 3997 3972
q6 254 131 130 130
q7 1463 887 887 887
q8 2781 2794 2778 2778
q9 9892 9476 9408 9408
q10 3459 3509 3538 3509
q11 380 259 259 259
q12 433 283 294 283
q13 4590 4154 4158 4154
q14 316 280 290 280
q15 612 560 582 560
q16 675 590 585 585
q17 1136 1085 1089 1085
q18 8102 7544 7639 7544
q19 1691 1684 1696 1684
q20 537 316 313 313
q21 4696 4362 4386 4362
q22 507 411 422 411
Total cold run time: 54621 ms
Total hot run time: 50859 ms
run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
q1 5199 5254 5029 5029
q2 367 220 232 220
q3 4057 4063 3986 3986
q4 2801 2767 2768 2767
q5 9763 9693 9723 9693
q6 248 129 124 124
q7 2669 2383 2316 2316
q8 4871 4881 4910 4881
q9 13121 13005 12969 12969
q10 4072 4146 4162 4146
q11 760 664 655 655
q12 1028 815 823 815
q13 4305 3886 3882 3882
q14 385 351 339 339
q15 615 581 549 549
q16 785 673 696 673
q17 3856 3854 3870 3854
q18 9741 9339 9426 9339
q19 1804 1786 1789 1786
q20 2394 2059 2050 2050
q21 9012 8789 8580 8580
q22 980 844 897 844
Total cold run time: 82833 ms
Total hot run time: 79497 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808180932
(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.53 seconds
stream load tsv: 552 seconds loaded 74807831229 Bytes, about 129 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 33 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162199464 Bytes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808129109
clang-tidy review says "All clean, LGTM! :+1:"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808255822
TeamCity be ut coverage result:
Function Coverage: 36.75% (8405/22870)
Line Coverage: 29.28% (68142/232702)
Region Coverage: 27.85% (35170/126293)
Branch Coverage: 24.67% (17979/72866)
Coverage Report: http://coverage.selectdb-in.cc/coverage/cabcd9be9e4ca6e2098b8cac5de932d9875f89ee_cabcd9be9e4ca6e2098b8cac5de932d9875f89ee/report/index.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring merged PR #26907:
URL: https://github.com/apache/doris/pull/26907
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](wal) Fix wal space back pressure core [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26907:
URL: https://github.com/apache/doris/pull/26907#issuecomment-1808327781
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org