-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[C++] Should ThreadPool executor SpawnReal handle exception? #45426
Comments
Why did you close this as completed @mapleFU ? |
Sorry, my question was more: why close this? Is it not actually a bug? |
I'm thinking that:
So I mark this as not planned now |
But Apache Arrow is not your personal software, if there is a bug, the issue should remain open. |
Also, I do think we should indeed handle unexpected exceptions even though we generally expect Arrow routines to be exception-free. |
Yeah I understand, however when I'm adding this I found handling exception would be much more than "swallow exception in threadpool", at least, the caller ( like |
I see. That said, I think we can still improve things in |
Describe the enhancement requested
apache arrow uses
arrow::Status
to handling error. This works well. However, when using::arrow::ThreadPool
, the internal task will not catch the exception when internal task throw exception, causing the coredump here.There're many ways for solving this problem:
Component(s)
C++
The text was updated successfully, but these errors were encountered: