Skip to content
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

Refactor the TaskDefinition by changing encoding execution plan to the decoded one #817

Merged
merged 3 commits into from
Jun 28, 2023

Conversation

yahoNanJing
Copy link
Contributor

@yahoNanJing yahoNanJing commented Jun 26, 2023

Which issue does this PR close?

Closes #793.

Rationale for this change

I think it's better for the plan decoding process inside the grpc interface so that we can detect failure as quickly as possible. And it's kind of meaningless to send a task with an illegal plan to the channel for future processing.

What changes are included in this PR?

  1. The patch of Only decode plan in LaunchMultiTaskParams once #743 is reverted
  2. The encoded execution plan in the TaskDefinition is changed to the decoded one.
  3. The error handling of run_task in the executor_server is refined

Are there any user-facing changes?

@yahoNanJing yahoNanJing requested a review from Dandandan June 26, 2023 11:22
@yahoNanJing
Copy link
Contributor Author

Hi @thinkharderdev and @Dandandan, could you help review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The decoded execution plan at the executor side cannot be directly shared.
2 participants