Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/14866 )

Change subject: [utility] auto-detection of cloud VM instance type
......................................................................


Patch Set 5:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector-test.cc
File src/kudu/util/cloud/instance_detector-test.cc:

http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector-test.cc@83
PS4, Line 83:
> To reduce possibility of flaky tests, can we go lower than this, FromNanose
A few microsecond interval seems to be low enough because the interval covers 
spawning detector threads as well, and I ran it many 1K times in different 
configurations, not seeing any flakes.  But I agree that 
MonoDelta::FromNanoseconds(1) is a better choice here.

Done.


http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.h
File src/kudu/util/cloud/instance_detector.h:

http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.h@38
PS4, Line 38: s run b
> running-> run
Done


http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.h@56
PS4, Line 56: n didn't reco
> auto-detection
Done


http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.h@60
PS4, Line 60: ut was
> typo
Done


http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.h@70
PS4, Line 70: e specified inst
> I can't find this field in this change. Perhaps it was renamed.
Good catch: this has changed, indeed.  I updated it.


http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.cc
File src/kudu/util/cloud/instance_detector.cc:

http://gerrit.cloudera.org:8080/#/c/14866/4/src/kudu/util/cloud/instance_detector.cc@84
PS4, Line 84: us wakeups are ignored by the
> An instance can't be running on multiple cloud vendors, so the first one to
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I083f4803decaef5d6e7d44184bbd98b074d2578b
Gerrit-Change-Number: 14866
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ban...@cloudera.com>
Gerrit-Reviewer: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Greg Solovyev <gsolov...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Volodymyr Verovkin <verjov...@cloudera.com>
Gerrit-Comment-Date: Wed, 22 Jan 2020 01:43:42 +0000
Gerrit-HasComments: Yes

Reply via email to