-
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
[fix](heartbeat) fix heartbeat editlog no persist hbTime #42653
[fix](heartbeat) fix heartbeat editlog no persist hbTime #42653
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
f4e7ed1
to
3090bd4
Compare
run buildall |
TPC-H: Total hot run time: 41945 ms
|
TPC-DS: Total hot run time: 196161 ms
|
ClickBench: Total hot run time: 32.74 s
|
run feut |
run p0 |
run feut |
run p0 |
f267923
to
685260e
Compare
run buildall |
TPC-H: Total hot run time: 40846 ms
|
TPC-DS: Total hot run time: 191146 ms
|
ClickBench: Total hot run time: 32.57 s
|
run buildall |
db6664c
to
f64d942
Compare
run buildall |
f67fb4f
to
3621967
Compare
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.
LGTM
TPC-H: Total hot run time: 41385 ms
|
TPC-DS: Total hot run time: 192290 ms
|
ClickBench: Total hot run time: 32.82 s
|
3621967
to
f9b4bfd
Compare
run buildall |
run performance |
2 similar comments
run performance |
run performance |
run buildall |
PR approved by at least one committer and no changes requested. |
run performance |
TPC-H: Total hot run time: 41543 ms
|
TPC-DS: Total hot run time: 196318 ms
|
ClickBench: Total hot run time: 32.78 s
|
Backend persist lastUpdateMs, it will be modified by heartbeat editlog. But heartbeat editlog not persist hbTime, and hbTime always equal 0, it will make backend's lastUpdateMs = 0 in bdb image. fix details: 1. heartbeat response persist hbTime; 2. only be state change will write an editlog. but we make a change: even a backend is healthy, still write a healthy response editlog every 5 min. Inorder to make backend's lastUpdateMs periodly updated in bdb image. But notice that this change wouldn't increase real editlog num. Because heartbeat mgr will patch all fe/be's heartbeat into one editlog. Even no fe/be state change, it still write an editlog which not contains any node's response. 3. for a dead heartbeat response, set hbTime to last succ hbTime, then replayer can set correct lastUpdateMs;
…42986) PR Body: Backend persist lastUpdateMs, it will be modified by heartbeat editlog. But heartbeat editlog not persist hbTime, and hbTime always equal 0, it will make backend's lastUpdateMs = 0 in bdb image. fix details: 1. heartbeat response persist hbTime; 2. only be state change will write an editlog. but we make a change: even a backend is healthy, still write a healthy response editlog every 5 min. Inorder to make backend's lastUpdateMs periodly updated in bdb image. But notice that this change wouldn't increase real editlog num. Because heartbeat mgr will patch all fe/be's heartbeat into one editlog. Even no fe/be state change, it still write an editlog which not contains any node's response. 3. for a dead heartbeat response, set hbTime to last succ hbTime, then replayer can set correct lastUpdateMs; Cherry-picked from #42653 Co-authored-by: yujun <[email protected]>
Backend persist lastUpdateMs, it will be modified by heartbeat editlog. But heartbeat editlog not persist hbTime, and hbTime always equal 0, it will make backend's lastUpdateMs = 0 in bdb image.
fix details: