forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broker/overlay: add RPC tracking for TBON children
Problem: when TBON children become lost, any pending RPCs passing through them may go unanswered, leading to hangs in other parts of the system. Track pending RPCs for each TBON child. When a child's state transitions from an online state to offline/lost, responses are generated for these RPCs. RPCs are considered terminated when the RPC request has: - the NORESPONSE flag is set - the STREAMING flag is set, and a matching error response is received - neither flag set, and any matching response is received - the same sending UUID as a disconnect request Note: this ony affects RPCs where the next hop is in the downstream/leaves direction. Each broker along the path of a multi-hop RPC tracks RPCs routed to its downstream peer, but only the broker whose downstream peer transitions to lost or offline sends an error response. This PR does not address loss of the parent. Fixes flux-framework#3800
- Loading branch information
Showing
1 changed file
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters