Skip to content

Allow custom destructor methods for user-passed callback data #1301

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

Merged

Conversation

stephanie-wang
Copy link
Contributor

What do these changes do?

Allows GCS table clients to specify a custom destructor for data passed into the table operation (e.g., a task for the add_task operation). Data pointers passed by the caller must be wrapped in a class that defines the destructor.

@pcmoritz pcmoritz self-requested a review December 8, 2017 00:30
Copy link
Contributor

@pcmoritz pcmoritz left a comment

Choose a reason for hiding this comment

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

LGTM, conditional on the tests passing. Before merging, lets rebase on top of #1299 once that's merged so we can run the Jenkins tests.

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/2674/
Test FAILed.

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/2681/
Test PASSed.

@stephanie-wang stephanie-wang merged commit bac39a1 into ray-project:master Dec 8, 2017
@robertnishihara robertnishihara deleted the callback-data-cpp branch December 8, 2017 22:45
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.

3 participants