Hao Hao has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/14222 )

Change subject: KUDU-2069 p4: stop replication from failed servers in 
maintenance mode
......................................................................


Patch Set 2:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/14222/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/14222/2//COMMIT_MSG@10
PS2, Line 10: can be in a bad state
nit: maybe 'can be in a bad state (e.g. due to in maintenance mode)'? To 
explain a bit why bad state is acceptable.


http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/consensus/quorum_util-test.cc
File src/kudu/consensus/quorum_util-test.cc:

http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/consensus/quorum_util-test.cc@658
PS2, Line 658: // We should still add a replica in this case.
nit: should this comment be moved to L664?


http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/integration-tests/maintenance_mode-itest.cc
File src/kudu/integration-tests/maintenance_mode-itest.cc:

http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/integration-tests/maintenance_mode-itest.cc@87
PS2, Line 87: Performs
nit: 'Perform' to align with the rest.


http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/integration-tests/maintenance_mode-itest.cc@156
PS2, Line 156: TestMaintenanceModeDoesntRereplicate
nit: TestMaintenanceModeWithoutRereplication?


http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/integration-tests/maintenance_mode-itest.cc@229
PS2, Line 229: Since our server is healthy, leaving maintenance mode shouldn't 
trigger
             :   // any re-replication either.
Should we add a test that re-replication can still happen to other tservers if 
any of them go down, while one is in maintenance mode?


http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/master/ts_manager.h
File src/kudu/master/ts_manager.h:

http://gerrit.cloudera.org:8080/#/c/14222/2/src/kudu/master/ts_manager.h@92
PS2, Line 92: that can be in a failed state without
            :   // counting towards under-replication.
nit: can you elaborate a bit in which cases this should happen.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9a63b55011d16900c0d27eac0eb75880074204db
Gerrit-Change-Number: 14222
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Hao Hao <hao....@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 12 Sep 2019 20:46:06 +0000
Gerrit-HasComments: Yes

Reply via email to