Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ZacAttack
Copy link
Contributor

Why are these changes needed?

Today if a bad status is reported at any step in GetAndPinArgsForExecution, we hit the RAY_CHECK and crash the process.

However, it seems like there are scenarios where getting a bad status from calls to this function is fairly legitamate (for example, during shutdown, raylet will return bad status codes like broken pipe status). A better course of action would be propogate the status back up and have the caller decide what to do next in the context of the ExecuteTask call. TaskReceiver now seems to handle bad status codes well and doesn't crash the node. So downgrading the RAY_CHECK seems a good fix in any case.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

It seems like there are scenarios where getting a bad status from calls
to this function is fairly legitamate (for example, during shutdown). A
better course of action would be propogate the status back up.
TaskReceiver now seems to handle bad status codes well and doesn't crash
the node.  So downgrading the RAY_CHECK seems a good fix in any case

Signed-off-by: zac <[email protected]>
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.

1 participant