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

BUG: future:::session_uuid() is identical among forked child processes and master #187

Closed
2 tasks done
HenrikBengtsson opened this issue Jan 11, 2018 · 0 comments
Closed
2 tasks done
Labels
Milestone

Comments

@HenrikBengtsson
Copy link
Owner

HenrikBengtsson commented Jan 11, 2018

@jcheng5, reported:

BTW I think you need to move the pid out of the cached value, otherwise multicore-backed futures will have the same session_uuid as their parent.

> library(future)
> plan(multicore)
> future:::session_uuid()
[1] "2036af94-e369-5dc9-4948-62e0fb2336a6"
> value(future(future:::session_uuid()))
[1] "2036af94-e369-5dc9-4948-62e0fb2336a6"

Action

  1. Add unit tests for this.
  2. Fix it.
@HenrikBengtsson HenrikBengtsson added this to the Next release milestone Jan 11, 2018
@HenrikBengtsson HenrikBengtsson changed the title BUG: future:::session_uuid() is identical amoung forked child processes and master BUG: future:::session_uuid() is identical among forked child processes and master Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant