Hello Tidy Bot, Alexey Serbin, Kudu Jenkins, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/8279
to look at the new patch set (#5).
Change subject: rpc: add experimental rpc_reuseport flag
......................................................................
rpc: add experimental rpc_reuseport flag
This option sets the SO_REUSEPORT socket option on a server's bound
socket. This socket option is supported on all platforms which Kudu
supports, except RHEL 6.4 and below.
The motivation is to use the option in the minicluster so that master
ports can be reserved by the mini cluster control processes and reused
by the master processes.
When rpc_reuseport is set on RHEL 6.4 the server fails to startup with
the following message (which is expected):
$ cat /etc/redhat-release
CentOS release 6.4 (Final)
$ ./kudu-master --fs-wal-dir=/tmp/kudu-master --logtostderr
--unlock-experimental-flags --rpc-reuseport=true
...
F0501 14:56:30.672461 3271 master_main.cc:74] Check failed: _s.ok() Bad
status: Network error: failed to set SO_REUSEPORT: Protocol not available
(error 92)
Change-Id: I5d8ce9faa646fa2be554f5cfdf8b6ed0c48b496e
---
M src/kudu/rpc/messenger.cc
M src/kudu/rpc/messenger.h
M src/kudu/server/rpc_server.cc
M src/kudu/server/rpc_server.h
M src/kudu/server/server_base.cc
M src/kudu/util/net/socket-test.cc
M src/kudu/util/net/socket.cc
M src/kudu/util/net/socket.h
8 files changed, 86 insertions(+), 68 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/8279/5
--
To view, visit http://gerrit.cloudera.org:8080/8279
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5d8ce9faa646fa2be554f5cfdf8b6ed0c48b496e
Gerrit-Change-Number: 8279
Gerrit-PatchSet: 5
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot