Uh oh!
There was an error while loading. Please reload this page.
branch-3.0: [Fix](cloud-mow) Fix correctness problem when there exists other interleaved txn between a txn's retries (#50417) - #50526
Merged
Conversation
…rleaved txn between a txn's retries (apache#50417) 出问题的情况: 1. txn=X 第一次拿锁,尝试在 ver=V1 提交,向be1下发计算task1,这包括 tablet=A 和 tablet=B 上计算 2. txn=X 在 tablet=A 上计算完成,在 ms 写下 ver=V1 的delete bitmap,并将其写入到 tablet=A 的pending delete bitmap KV中 3. txn=X 因为 task1 计算超时,主动释放锁 4. txn=Y 第一次拿锁,尝试在 ver=V1 提交,向be1下发计算task2,包括 tablet=A 5. txn=Y 在 tablet=A 上计算完成,用 tablet=A 上的 的pending delete bitmap KV删除 txn=X 写下的delete bitmap,并写下自己的 ver=V1 的delete bitmap 6. txn=Y 因为在某些 tablet 上计算超时,主动释放锁 7. txn=X 第二次拿锁,仍然尝试在 ver=V1 提交,向be1下发计算task3,这包括 tablet=A 和 tablet=B 上计算 8. 此时be1上的 task1 还没有完成,task3 在be1上注册失败 9. task1 在 tablet=B上计算完成,task1上报成功结果到fe。txn=X 成功在 ver=V1 上提交,但它在 tablet=A 上 ver=V1 的delete bitmap已经被删除了
hello-stephen
commented
Apr 29, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
bobhan1
commented
Apr 29, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Apr 29, 2025
TPC-H: Total hot run time: 39548 ms |
doris-robot
commented
Apr 29, 2025
TPC-DS: Total hot run time: 196942 ms |
doris-robot
commented
Apr 29, 2025
ClickBench: Total hot run time: 31.99 s |
hello-stephen
commented
Apr 29, 2025
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
bobhan1
commented
Apr 29, 2025
ContributorAuthor
run cloud_p0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pick #50417