Thomas Marshall has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10875


Change subject: KUDU-2492: Make the use of SO_REUSEPORT conditional on it being 
defined
......................................................................

KUDU-2492: Make the use of SO_REUSEPORT conditional on it being defined

A recent commit to Kudu, "rpc: add experimental rpc_reuseport flag",
added the use of the rpc flag SO_REUSEREPORT. This flag is not
available with older versions of Linux, resulting in a compiler error.

This flag is just a performance optimization, so this patch just skips
setting it when it is not available.

Change-Id: I673fa09619955de162e2e2742480672b1e5c4d1d
---
M src/kudu/util/net/socket.cc
1 file changed, 5 insertions(+), 3 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I673fa09619955de162e2e2742480672b1e5c4d1d
Gerrit-Change-Number: 10875
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Marshall <[email protected]>

Reply via email to