Bankim Bhavsar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16530 )

Change subject: [tool] KUDU-2181 CLI to add master
......................................................................


Patch Set 10:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/16530/10/src/kudu/master/dynamic_multi_master-test.cc
File src/kudu/master/dynamic_multi_master-test.cc:

http://gerrit.cloudera.org:8080/#/c/16530/10/src/kudu/master/dynamic_multi_master-test.cc@1189
PS10, Line 1189: } // namespace master
> Looking through the test scenarios, I could not find a test for a use case
What's the right expectation in that scenario?
Current implementation of AddMaster checks for HostPort combination and not 
just hostname so adding a new master with same hostname but different port 
number will be allowed to go through.

I haven't tested but a quick look at code suggests if we bring up multiple 
masters(not with add/remove) with same hostname but different port numbers the 
masters will be treated as different instances. So current implementation is in 
line with that expectation.

I just want to make sure the expectation is right before writing the test.

Initially I was under the impression that all processes (masters, tservers) 
have the same hostname/IP and different port numbers to allow running 
ExternalMiniCluster tests on a single node but that's not the case.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I507f301d1aba17327eb35728eed0d765e86ef4cc
Gerrit-Change-Number: 16530
Gerrit-PatchSet: 10
Gerrit-Owner: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Comment-Date: Thu, 18 Feb 2021 21:53:27 +0000
Gerrit-HasComments: Yes

Reply via email to