Skip to content

Conversation

@westonpace
Copy link
Member

@westonpace westonpace commented Jan 16, 2023

@github-actions
Copy link

@github-actions
Copy link

⚠️ GitHub issue #15243 has been automatically assigned in GitHub to PR creator.

@westonpace
Copy link
Member Author

This is a spot fix. I suspect there are other potential issues in other nodes but we just don't have tests for them. #15253 is a more thorough fix but I don't believe it will be finished in time for the release.

@westonpace
Copy link
Member Author

@github-actions crossbow submit test-ubuntu-18.04-cpp-static

@github-actions
Copy link

Revision: 20629be

Submitted crossbow builds: ursacomputing/crossbow @ actions-681afd8c3f

Task Status
test-ubuntu-18.04-cpp-static Github Actions

if (ErrorIfNotOk(Consume(ExecSpan(batch)))) return;

if (input_counter_.Increment()) {
ErrorIfNotOk(OutputResult());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we don't want to propagate the error back anymore? (I suppose that's all going away anyways?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, at the moment, the only thing that handles this error is the sink node and all it will do is trigger an abort which will end up coming back here and marking this finished anyways.

That used to be needed because it was the only way to trigger an abort on a failure.

Now, with the async scheduler, any failed task will trigger an abort. Furthemore, since finished_ is a "task" it will trigger the abort in this path.

num_output_batches));
Status st =
plan_->query_context()->StartTaskGroup(output_task_group_id_, num_output_batches);
if (st.IsCancelled()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this if-else seems redundant, since OutputResult will MarkFinished even if we don't do this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is translating a failed status into a successful status (the test expects a plan to succeed after calling StopProducing).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The else condition propagates the failed status.

@westonpace westonpace merged commit fcecfc1 into apache:master Jan 16, 2023
raulcd pushed a commit that referenced this pull request Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI][C++] arrow-compute ExecPlanExecution.StressSourceGroupedSumStop timeout

2 participants