Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/15324 )

Change subject: util: deadline for BlockingQueue::Blocking{Put,Get}
......................................................................

util: deadline for BlockingQueue::Blocking{Put,Get}

Drawing inspiration from BlockingDrainTo(), this adds a deadline to
BlockingPut() and BlockingGet(), with the same error semantics.

This also updates SubprocessServer to use of BlockingPut(), instead of
manual deadline-checking.

Change-Id: If32bad5667195d72eeb03e4942751824d4dadb7a
Reviewed-on: http://gerrit.cloudera.org:8080/15324
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/consensus/log.cc
M src/kudu/integration-tests/linked_list-test-util.h
M src/kudu/subprocess/server.cc
M src/kudu/subprocess/server.h
M src/kudu/subprocess/subprocess_server-test.cc
M src/kudu/util/blocking_queue-test.cc
M src/kudu/util/blocking_queue.h
7 files changed, 152 insertions(+), 77 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/15324
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If32bad5667195d72eeb03e4942751824d4dadb7a
Gerrit-Change-Number: 15324
Gerrit-PatchSet: 7
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to