You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new Flux RPC design, a continuation callback that never calls flux_rpc_get() will trigger an infinite loop. This may be asking for nasty bugs down the line. Other alternatives are to make the get call and pass the results to the callback, or to destroy unconsumed responses after each callback.
This needs another look before we finalize the public API.
The text was updated successfully, but these errors were encountered:
If nothing else, perhaps some kind of watchdog you could enable to at least detect this condition and spit out a warning. (Embarrassing to say how many times I've had these bugs in poll() loop based software -- So though it is possible in all event loop architectures to hit this kind of bug, it would be pretty nice if we could at least provide a mechanism to detect it, i.e. something like kernel hung_task_timeout.)
In the new Flux RPC design, a continuation callback that never calls
flux_rpc_get()
will trigger an infinite loop. This may be asking for nasty bugs down the line. Other alternatives are to make the get call and pass the results to the callback, or to destroy unconsumed responses after each callback.This needs another look before we finalize the public API.
The text was updated successfully, but these errors were encountered: