Uh oh!
There was an error while loading. Please reload this page.
[fix](tablet io error) fix tablet not increase _io_error_times in some cases. - #42208
Conversation
doris-robot
commented
Oct 21, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
| #include "olap/tablet.h" | ||
| #include "olap/tablet_fwd.h" | ||
| #include "olap/tablet_schema.h" | ||
| #include "runtime/exec_env.h" |
There was a problem hiding this comment.
warning: duplicate include [readability-duplicate-include]
be/src/runtime/load_stream.cpp:39:
- #include "olap/tablet_schema.h"- #include "runtime/exec_env.h"+ #include "olap/tablet_schema.h"58faebf to
4c0cb09Compareyujun777
commented
Oct 21, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
yujun777
commented
Oct 21, 2024
run buildall |
doris-robot
commented
Oct 21, 2024
TeamCity be ut coverage result: |
yujun777
commented
Oct 22, 2024
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
yujun777
commented
Oct 22, 2024
run beut |
yujun777
commented
Oct 22, 2024
run p0 |
yujun777
commented
Oct 23, 2024
run buildall |
yujun777
commented
Oct 23, 2024
run buildall |
doris-robot
commented
Oct 23, 2024
TeamCity be ut coverage result: |
yujun777
commented
Oct 23, 2024
run p0 |
yujun777
commented
Oct 23, 2024
run buildall |
doris-robot
commented
Oct 23, 2024
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
yujun777
commented
Oct 23, 2024
run p0 |
1 similar comment
yujun777
commented
Oct 23, 2024
run p0 |
yujun777
commented
Oct 23, 2024
run cloud_p0 |
…e cases. (#42208) When read/write a tablet, if meet io error, it will increase this tablet's field `_io_error_times`. And if `_io_error_times` >= config::max_tablet_io_errors, then be will report this tablet as bad, then fe can drop it later. But there are a lot of code that may met an io error! And they may forget to increase this tablet's _io_error_times. This PR only fix some, there should be others not fixed. What's more, config::max_tablet_io_errors of be.conf default value is -1. It means always no set tablet as bad. For an online cluster, it shoud manually set this parameter > 0 in order to make it work.
…times in some cases. (#42955) PR Body: When read/write a tablet, if meet io error, it will increase this tablet's field `_io_error_times`. And if `_io_error_times` >= config::max_tablet_io_errors, then be will report this tablet as bad, then fe can drop it later. But there are a lot of code that may met an io error! And they may forget to increase this tablet's _io_error_times. This PR only fix some, there should be others not fixed. What's more, config::max_tablet_io_errors of be.conf default value is -1. It means always no set tablet as bad. For an online cluster, it shoud manually set this parameter > 0 in order to make it work. Cherry-picked from #42208 Co-authored-by: yujun <yu.jun.reach@gmail.com>
…7561) Cherry-pick all docker/runtime/ changes from apache/doris master that are missing in branch-hotfix-selectdb-doris-3.1-hubspot. Includes changes from PRs: apache#42068apache#42208apache#42564apache#42605apache#43040apache#43085apache#43200apache#45503apache#45926apache#46387apache#47342apache#47837apache#48183apache#48839apache#48898apache#49343apache#49874apache#50247apache#50536apache#50604apache#50745apache#50922apache#51357apache#51693apache#54321apache#54392apache#54950apache#55299apache#55548apache#55615apache#55671apache#55824apache#56471apache#56757apache#56917apache#57113apache#57236apache#57345apache#57374apache#57695apache#58229apache#58565apache#58638apache#59039apache#59292apache#59480apache#59553apache#60060apache#60458 ## Proposed changes Issue Number: close #xxx <!--Describe your changes.--> Co-authored-by: catpineapple <catpineapple@users.noreply.github.com>
…e cases. (apache#42208) When read/write a tablet, if meet io error, it will increase this tablet's field `_io_error_times`. And if `_io_error_times` >= config::max_tablet_io_errors, then be will report this tablet as bad, then fe can drop it later. But there are a lot of code that may met an io error! And they may forget to increase this tablet's _io_error_times. This PR only fix some, there should be others not fixed. What's more, config::max_tablet_io_errors of be.conf default value is -1. It means always no set tablet as bad. For an online cluster, it shoud manually set this parameter > 0 in order to make it work.
When read/write a tablet, if meet io error, it will increase this tablet's field
_io_error_times. And if_io_error_times>= config::max_tablet_io_errors, then be will report this tablet as bad, then fe can drop it later.But there are a lot of code that may met an io error! And they may forget to increase this tablet's _io_error_times.
This PR only fix some, there should be others not fixed.
What's more, config::max_tablet_io_errors of be.conf default value is -1. It means always no set tablet as bad. For an online cluster, it shoud manually set this parameter > 0 in order to make it work.