Hello Yingchun Lai, Attila Bukor, Yifan Zhang, Kudu Jenkins, Abhishek Chennaka,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20892

to look at the new patch set (#3).

Change subject: [net] DiagnosticSocket wrapper for sock_diag API
......................................................................

[net] DiagnosticSocket wrapper for sock_diag API

This patch introduces DiagnosticSocket wrapper for sock_diag() netlink
subsystem [1][2].  The primary intention behind DiagnosticSocket is to
fetch information on the RX queue size for a listening IPv4 TCP socket.
A follow-up patch will use this new facility to populate a new
server-level metric: that's to track connection request backlog for a
Kudu server's RPC socket (a.k.a. listened socket backlog, pending
connections queue, etc.).

Since netlink is a Linux-specific API/subsystem, the DiagnosticSocket
API is available only on Linux, correspondingly.

This patch includes a few unit tests to provide basic coverage
for the newly introduced functionality.

[1] https://man7.org/linux/man-pages/man7/sock_diag.7.html
[2] https://man7.org/linux/man-pages/man7/netlink.7.html

Change-Id: I4a4f37ca4b0df8ca543ec383d89766cbf1b1e526
---
M src/kudu/util/CMakeLists.txt
A src/kudu/util/net/diagnostic_socket-test.cc
A src/kudu/util/net/diagnostic_socket.cc
A src/kudu/util/net/diagnostic_socket.h
4 files changed, 619 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/92/20892/3
--
To view, visit http://gerrit.cloudera.org:8080/20892
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4a4f37ca4b0df8ca543ec383d89766cbf1b1e526
Gerrit-Change-Number: 20892
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <ale...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <achenn...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <ale...@apache.org>
Gerrit-Reviewer: Attila Bukor <abu...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <chinazhangyi...@163.com>
Gerrit-Reviewer: Yingchun Lai <laiyingc...@apache.org>

Reply via email to