Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17597


Change subject: [tools] use --timeout_ms in tablet_scanner
......................................................................

[tools] use --timeout_ms in tablet_scanner

This patch removes the hard-coded timeout in TableScanner::CopyTask()
and TableScanner::StartWork() methods, switching them to using the
--timeout_ms run-time flag.

In addition, I sneaked in a code clean-up:
  * use std::atomic instead of Atomic in table_scanner
  * use 'constexpr const char* const' in kudu-tool-test
  * groups DECLARE_xxx separately from DEFINE_xxx

Change-Id: Id9ec546cb5cb9c94d13705596517258ee15330f1
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/table_scanner.cc
M src/kudu/tools/table_scanner.h
M src/kudu/tools/tool_action_perf.cc
4 files changed, 56 insertions(+), 52 deletions(-)



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

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

Reply via email to