Alexey Serbin has posted comments on this change. Change subject: [catalog_manager] categorization of rw operation failures ......................................................................
Patch Set 10: (1 comment) OK, it seems I need to add some test coverage for the new scenarios. http://gerrit.cloudera.org:8080/#/c/6170/10/src/kudu/master/sys_catalog.cc File src/kudu/master/sys_catalog.cc: PS10, Line 627: const Status s = SyncWrite(&req, &resp); : if (!s.ok() && error_is_not_leader != nullptr) { : *error_is_not_leader = : (resp.has_error() && : resp.error().code() == TabletServerErrorPB::NOT_THE_LEADER); : } > is this tested somewhere? I don't think we actually set this error code in You are right -- I haven't added any coverage for these scenarios. Was relying on the existing coverage. -- To view, visit http://gerrit.cloudera.org:8080/6170 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I826826049e3c08a6c8345949690cbbedaea32ff8 Gerrit-PatchSet: 10 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-HasComments: Yes
