You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/01/26 01:39:42 UTC

[kudu-CR] Use 'kqueue' instead of 'select' for the rpc event loop in Mac OS X

David Ribeiro Alves has uploaded a new change for review.

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

Change subject: Use 'kqueue' instead of 'select' for the rpc event loop in Mac OS X
......................................................................

Use 'kqueue' instead of 'select' for the rpc event loop in Mac OS X

It appears that in Mac OS X 'select' can't handle more that 1024 connections,
which breaks rpc-test and often other tests.

This patch makes it so we use 'kqueue' in OS X, which doesn't have the same
problem.

I tested this on my local laptop, rpc-test failed before and passes now.

Change-Id: I8daa3d02c7e28952eecd9e2ce56cadb8b14c418c
---
M src/kudu/rpc/reactor.cc
1 file changed, 7 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8daa3d02c7e28952eecd9e2ce56cadb8b14c418c
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>