Hello Tidy Bot, Alexey Serbin, Ashwani Raina, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: KUDU-3524 Fix core of sending keep-alive requests periodically
......................................................................

KUDU-3524 Fix core of sending keep-alive requests periodically

Currently, calling the interface 'StartKeepAlivePeriodically()'
in kudu client will core, see KUDU-3542 for detail. That because
this interface uses 'PeriodicTimer' to send keep-alive requests
periodically, and 'PeriodicTimer' uses reactor thread to do it.
Reactor thread does not allow to wait, and will check it, see the
function ReactorThread::RunThread(). But sending keep-alive requests
uses the synchronous interface 'ScannerKeepAlive()', which will wait
for the response.

This patch uses 'ScannerKeepAliveAysnc()', a asynchronous interface
to send keep-avlie requests to avoid this problem.

Change-Id: I130db970a091cdf7689245a79dc4ea445d1f739f
---
M src/kudu/client/scanner-internal.cc
M src/kudu/client/scanner-internal.h
2 files changed, 35 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/39/20739/3
--
To view, visit http://gerrit.cloudera.org:8080/20739
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I130db970a091cdf7689245a79dc4ea445d1f739f
Gerrit-Change-Number: 20739
Gerrit-PatchSet: 3
Gerrit-Owner: Wang Xixu <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <[email protected]>

Reply via email to