Mike Percy has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9766 )

Change subject: consensus: Add consensus peers health reporting test
......................................................................


Patch Set 3:

(7 comments)

http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc
File src/kudu/integration-tests/consensus_peer_health_status-itest.cc:

http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@60
PS3, Line 60: we cause a peer to go into
            : // a bad state, that
> nit: ... a replica goes into a bad state, its ...
It reads fine to me but I'll change it as suggested


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@97
PS3, Line 97: We'll TS
> typo or some words are dropped?
Done


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@127
PS3, Line 127: const auto
> nit: it might be constexpr
Done


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@136
PS3, Line 136: // Cycle this test twice.
> Why?  Do you mind documenting the reasoning?
I actually don't think this is necessary so I'm removing the cycle.


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@140
PS3, Line 140: Shutdown
> In addition to Shutdown(), would it make sense to call Pause() and verify t
Done


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/consensus_peer_health_status-itest.cc@154
PS3, Line 154: follower_ts->uuid()
> nit: maybe, extract this into a local/scope variable and use it in this sco
I've extracted a follower_uuid variable at the top of the test for readability.


http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/raft_consensus-itest-base.h
File src/kudu/integration-tests/raft_consensus-itest-base.h:

http://gerrit.cloudera.org:8080/#/c/9766/3/src/kudu/integration-tests/raft_consensus-itest-base.h@50
PS3, Line 50: NO_SHUTDOWN
> nit: I think it might be something more generic meaning 'don not tamper wit
I like DO_NOT_TAMPER



--
To view, visit http://gerrit.cloudera.org:8080/9766
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I65d787a3146749e36e33d78e253914a5ffe5762d
Gerrit-Change-Number: 9766
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Tidy Bot
Gerrit-Comment-Date: Sat, 24 Mar 2018 02:15:21 +0000
Gerrit-HasComments: Yes

Reply via email to