You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2021/09/11 00:39:47 UTC

[kudu-CR] [util] add clarifying comments on DnsResolver

Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17843


Change subject: [util] add clarifying comments on DnsResolver
......................................................................

[util] add clarifying comments on DnsResolver

As it turned out, the code under #ifndef NDEBUG ... #endif section
looks a bit surprising when reading the code in dns_resolver.cc
without first reading the comment for the HostRecordCache typedef in
dns_resolver.h.  This patch adds comments to bring more clarity on the
motivation behind that code.

This changelist doesn't contain any functional modifications.

Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
---
M src/kudu/util/net/dns_resolver.cc
1 file changed, 9 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/43/17843/1
-- 
To view, visit http://gerrit.cloudera.org:8080/17843
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Gerrit-Change-Number: 17843
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>

[kudu-CR] [util] add clarifying comments on DnsResolver

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has removed a vote on this change.

Change subject: [util] add clarifying comments on DnsResolver
......................................................................


Removed Verified-1 by Kudu Jenkins (120)
-- 
To view, visit http://gerrit.cloudera.org:8080/17843
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Gerrit-Change-Number: 17843
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)

[kudu-CR] [util] add clarifying comments on DnsResolver

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17843 )

Change subject: [util] add clarifying comments on DnsResolver
......................................................................

[util] add clarifying comments on DnsResolver

As it turned out, the code under #ifndef NDEBUG ... #endif section
looks a bit surprising when reading the code in dns_resolver.cc
without first reading the comment for the HostRecordCache typedef in
dns_resolver.h.  This patch adds comments to bring more clarity on the
motivation behind that code.

This changelist doesn't contain any functional modifications.

Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Reviewed-on: http://gerrit.cloudera.org:8080/17843
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Alexey Serbin <as...@cloudera.com>
---
M src/kudu/util/net/dns_resolver.cc
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Andrew Wong: Looks good to me, approved
  Alexey Serbin: Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Gerrit-Change-Number: 17843
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)

[kudu-CR] [util] add clarifying comments on DnsResolver

Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/17843 )

Change subject: [util] add clarifying comments on DnsResolver
......................................................................


Patch Set 1: Code-Review+2

Thanks for this clarification!


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Gerrit-Change-Number: 17843
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Sat, 11 Sep 2021 01:09:28 +0000
Gerrit-HasComments: No

[kudu-CR] [util] add clarifying comments on DnsResolver

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/17843 )

Change subject: [util] add clarifying comments on DnsResolver
......................................................................


Patch Set 1: Verified+1

unrelated dist-test failure: this patch contains updates to the inline comments only


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6a7fafbd8897844fc22db5cc431bae039eb85797
Gerrit-Change-Number: 17843
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Sat, 11 Sep 2021 03:35:06 +0000
Gerrit-HasComments: No