mercury icon indicating copy to clipboard operation
mercury copied to clipboard

HG: HG_Forward completion callback changes

Open frostedcmos opened this issue 4 years ago • 0 comments

Currently HG_Forward()'s behavior is either to either invoke the completion callback (with error or success), or to return error from HG_Forward().

In CART/DAOS we end up having to manually invoke completion callback when HG_Forward() returns error in order to have a single place (completion callback) where all errors are being handled.

It would be nice as such to just have HG_Forward() always invoke completion callback for any error on its own, so that we don't have to recreate hg completion structures ourselves and have to manually trigger completions.

frostedcmos avatar Aug 03 '20 14:08 frostedcmos