Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11554 )

Change subject: [tools] KUDU-2179: Have ksck not use a single snapshot for all 
tablets
......................................................................


Patch Set 9:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/11554/7/src/kudu/tools/ksck_checksum.cc
File src/kudu/tools/ksck_checksum.cc:

http://gerrit.cloudera.org:8080/#/c/11554/7/src/kudu/tools/ksck_checksum.cc@358
PS7, Line 358:   return true;
             : }
             :
> There is no Messenger in a KsckCluster, the base class this class works wit
I never really saw the point of the class hierarchy here; we could have poked 
enough holes in ksck to simplify testing without inheritance.

Anyway, I think your suggestion is reasonable. How shady it will end up sort of 
depends on whether rpc::PeriodicTimer needs to be used by whatever tests use a 
MockKsckCluster. If it isn't used, you could get away with returning nullptr in 
MockKsckCluster::messenger(), which would ease the stinging.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff0905c2099e6f56ed1cb651611918acbaf75476
Gerrit-Change-Number: 11554
Gerrit-PatchSet: 9
Gerrit-Owner: Will Berkeley <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Will Berkeley <[email protected]>
Gerrit-Comment-Date: Thu, 04 Oct 2018 18:27:34 +0000
Gerrit-HasComments: Yes

Reply via email to