-
Notifications
You must be signed in to change notification settings - Fork 442
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
[CH] improve mutex usage in shuffle writer #3722
Labels
enhancement
New feature or request
Comments
taiyang-li
added a commit
to bigo-sg/gluten
that referenced
this issue
Nov 15, 2023
优化方案
|
发现另外一个问题,生产环境执行application_1691660805290_5264904 (sql: d_8832_0)任务时,发现executor 1283会卡死。 通过thread dump可以看到
这里hang死的原因是出现了死锁。可能的原因是:
综上,导致死锁的原因是同一个线程中重复获取锁。解决方案:使用std::recursive_mutex |
taiyang-li
added a commit
to bigo-sg/gluten
that referenced
this issue
Nov 16, 2023
liuneng1994
pushed a commit
that referenced
this issue
Nov 30, 2023
What changes were proposed in this pull request? (Please fill in changes proposed in this fix) (Fixes: #3722) Changes Improve style of some codes in shuffle writer. Make sure that columns buffer do not exceeds split size in shuffle writer Remove all the locks in shuffle writer for write/spill/stop are executed in single jvm thread. Protect memory spill from being called recursively.
This was referenced Dec 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
rt
The text was updated successfully, but these errors were encountered: