You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ RUN ] ExecPlanExecution.StressSourceGroupedSumStop
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:849: Failure
Value of: _fut.Wait(::arrow::kDefaultAssertFinishesWaitSeconds)
Actual: false
Expected: true
Google Test trace:
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:824: single threaded
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:821: slowed
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/exec_plan.cc:64: Plan was destroyed before finishing
99% tests passed, 1 tests failed out of 69
I've reproduced this. It is a deadlock. It appears that, in some cancel situations, GroupByNode is not properly marking it's finished future as complete. I can probably spot fix this if we need to but it is fixed more categorically by #15253 (I'm attempting to reproduce on that branch and so far have not been able to so that is a good sign). If it appears that #15253 is not going to merge before the release then I will fix this individually (feel free to ping me if it seems like I am forgetting).
no, that's fine, Thanks! The archery release cherry-pick script will pick it up. I am adding the Priority: blocker label, just as a reminder for me to double check once I run the cherry-pick command but adding the 11.0.0 milestone should be enough.
Activity
rok commentedon Jan 8, 2023
Looks like the test takes too long to run?
mapleFU commentedon Jan 8, 2023
Maybe just running to much time / a deadlock or other bug...I don't know :(
westonpace commentedon Jan 8, 2023
kDefaultAssertFinishesWaitSecondsis generally long enough that even CI machines will finish by then. So I think deadlock seems likely :(westonpace commentedon Jan 8, 2023
I've reproduced this. It is a deadlock. It appears that, in some cancel situations, GroupByNode is not properly marking it's finished future as complete. I can probably spot fix this if we need to but it is fixed more categorically by #15253 (I'm attempting to reproduce on that branch and so far have not been able to so that is a good sign). If it appears that #15253 is not going to merge before the release then I will fix this individually (feel free to ping me if it seems like I am forgetting).
mapleFU commentedon Jan 11, 2023
Please go ahead, I just blocked by CI
By the way, I meet another timeout, but I don't understand why: https://github.com/apache/arrow/actions/runs/3886295191/jobs/6631229773
westonpace commentedon Jan 13, 2023
I don't think #15253 will merge in time. I am going to try and put in a more targeted fix today.
mapleFU commentedon Jan 16, 2023
Hi westonpace, did you solve this issue?
apacheGH-15243: fix for potential deadlock in the group-by node
westonpace commentedon Jan 16, 2023
Thanks for the reminder, I had forgotten.
westonpace commentedon Jan 16, 2023
@raulcd this should be included in the release. I've marked it with the 11.0.0 milestone. Is there anything more I need to do?
raulcd commentedon Jan 16, 2023
no, that's fine, Thanks! The
archery release cherry-pickscript will pick it up. I am adding thePriority: blockerlabel, just as a reminder for me to double check once I run thecherry-pickcommand but adding the 11.0.0 milestone should be enough.GH-15243: [C++] fix for potential deadlock in the group-by node (#33700)
apacheGH-15243: [C++] fix for potential deadlock in the group-by node (…