-
Notifications
You must be signed in to change notification settings - Fork 3.9k
DRAFT: Use new RA callback #7905
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
base: main
Are you sure you want to change the base?
Conversation
86a9039
to
0e15e86
Compare
I think the general approach is pretty much what we designed. I am concerned that there are functions called in That said this is very much on the right track and we just need to investigate a bit further if the logic can be made safe to run inside the ra process. |
Awesome. Any hints on how to investigate? I was thinking of somehow call the 'eval_members' in its own process, and somehow get the result back to the RA process to run the grow code. |
@kjnilsson Perhaps the eval_member callback could provide an optional 'reply fun', and the implementer could use that fun to report the result to the instead of directly responding, i.e spawn a process that does the eval, and add the 'effects' to the fun, and the funs job would be to send a msg back to the ra_server_proc leader process? |
Proposed Changes
Draft for @kjnilsson
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply.You can also fill these out after creating the PR.
If you're unsure about any of them, don't hesitate to ask on the mailing list.
We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
CONTRIBUTING.md
documentFurther Comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.