Skip to content

Conversation

@nkanazawa1989
Copy link
Collaborator

Summary

This PR fixes the bug that the composite experiment data blocking returns before its (child data) execution complete.

Details and comments

See comment in the code.

@nkanazawa1989 nkanazawa1989 added this to the Release 0.2 milestone Dec 9, 2021
@nkanazawa1989 nkanazawa1989 added the bug Something isn't working label Dec 9, 2021
# Because blocking mechanism is sometime terminated before above callback is added to
# the experiment_data callback queue list, we need to extend execution time of this routine
# to ensure this will complete after the callback is actually queued.
sleep(1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I dont think this problem is specific to composite experiment. Returning before the callback has updated the status could happen to any experiment and probably needs some tweaks in DbExperimentData.status. Adding a 1 second sleep here seems not a good solution.

@nkanazawa1989
Copy link
Collaborator Author

I wrote issue #573 instead of merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants