-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvs-watch: avoid error response on failed rpc
Problem: In the function handle_lookup_response(), if a call to flux_respond_pack() fails, an additional call to flux_respond_error() can be made in the "goto error". This is not common usage in flux-core. If flux_respond_pack() fails, we simply log an error and avoid a second attempt to send a response. In handle_lookup_response() do not automatically call flux_respond_error() on an error. In called function, call flux_respond_error() if necessary.
- Loading branch information
Showing
1 changed file
with
24 additions
and
9 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