Hello Marton Greber, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23651
to look at the new patch set (#2).
Change subject: KUDU-1457 [5/n] Enable IPv6-only mode for rpc
......................................................................
KUDU-1457 [5/n] Enable IPv6-only mode for rpc
As part of adding IPv6 support, a config flag was added to represent
the modes in which a Kudu cluster can be configured. Out of the three
possible modes, if user selects 'ipv6' mode, it should essentially
entertain tcp requests from only 'ipv6' clients and any incoming 'ipv4'
request should fail with 'address family not supported' error.
- This patch takes care of that by setting a socket option (IPV6_V6ONLY)
at protocol level.
- Add a few unit tests to test the added code for different modes and
clients from different families.
- Miscellaneous changes to improve readability.
Change-Id: Ic84ba301d0faa36e928eec54872d02f28a4f793f
---
M src/kudu/rpc/messenger.cc
M src/kudu/rpc/rpc-test.cc
M src/kudu/util/net/sockaddr.cc
M src/kudu/util/net/sockaddr.h
M src/kudu/util/net/socket.cc
M src/kudu/util/net/socket.h
6 files changed, 140 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/51/23651/2
--
To view, visit http://gerrit.cloudera.org:8080/23651
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic84ba301d0faa36e928eec54872d02f28a4f793f
Gerrit-Change-Number: 23651
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>