Dan Burkert has posted comments on this change. Change subject: util: add Status::AndThen combinator ......................................................................
Patch Set 3: (1 comment) http://gerrit.cloudera.org:8080/#/c/7399/2//COMMIT_MSG Commit Message: PS2, Line 11: RETURN_NOT_OK > As an alternative, could Status::AndThen's functionality be implemented as AndThen is nice for scenarios where you have a sequence of operations which can fail, but you want to handle all of the failures the same. For instance, we do this a lot in the server where a sequence of possibly failing operations occurs, and then if any of them fail, we mark the RPC return specially. I don't think such a macro would help reduce the rollback boilerplate. -- To view, visit http://gerrit.cloudera.org:8080/7399 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia6e1a79ff95406825d4238a8157d242252562805 Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Dan Burkert <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-HasComments: Yes
