Alexey Serbin has uploaded a new change for review.

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

Change subject: [ExternalDaemon] return non-OK if no process to pause/resume
......................................................................

[ExternalDaemon] return non-OK if no process to pause/resume

Prior to this patch, ExternalDaemon::{Pause,Resume}() methods
returned Status::OK() if there were no process to pause/resume.

This patch addresses that: now both methods return Status::NotFound()
if there is no process to pause/resume.  Also, added WARN_UNUSED_RESULT
attribute for both methods and updated the call sites to handle their
return status correspondingly.  Besides, replaced gscoped_ptr with
std::unique_ptr in external_minicluster.{cc,h}.

Change-Id: Ibce641a29ffc43391f54c6a8aacf6ba91ae93ae9
---
M src/kudu/integration-tests/client-stress-test.cc
M src/kudu/integration-tests/external_mini_cluster.cc
M src/kudu/integration-tests/external_mini_cluster.h
M src/kudu/integration-tests/master_failover-itest.cc
M src/kudu/integration-tests/master_migration-itest.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
6 files changed, 55 insertions(+), 42 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibce641a29ffc43391f54c6a8aacf6ba91ae93ae9
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to