[fix](move-memtable) check segment num when closing each tablet (#36753)#37536
[fix](move-memtable) check segment num when closing each tablet (#36753)#37536liaoxin01 merged 2 commits intoapache:branch-2.1from
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! 👍" |
…he#36753) Previously, there is chance that sender failed to send some data while the receiver being unaware of. This will cause lost data if some segments are skipped. This PR fixes the problem by including checks in both sender and receiver. When sender failed to send rpc, LoadStreamStub will mark the involved tablets failed. Each sender will send segment num for each tablet in CLOSE_LOAD, and receivers (LoadStream) will sum up and check total segment nums.
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
run p0 |
cherry-pick #36753 and #37660