YUKI Hiroshi
null+****@clear*****
Thu Jan 15 17:20:36 JST 2015
YUKI Hiroshi 2015-01-15 17:20:36 +0900 (Thu, 15 Jan 2015) New Revision: 929edbfa6b6840dee05209e2d3328af53f2eb924 https://github.com/droonga/droonga-engine/commit/929edbfa6b6840dee05209e2d3328af53f2eb924 Message: Make method name more meaningful Modified files: bin/droonga-engine-join Modified: bin/droonga-engine-join (+2 -2) =================================================================== --- bin/droonga-engine-join 2015-01-15 16:23:31 +0900 (55192cb) +++ bin/droonga-engine-join 2015-01-15 17:20:36 +0900 (c2614aa) @@ -45,7 +45,7 @@ class JoinCommand set_node_role do_join sleep(5) #TODO: wait for restarting of the joining node. this should be done more safely. - do_copy unless @options["no-copy"] + monitor_copying_state unless @options["no-copy"] set_effective_message_timestamp update_other_nodes reset_node_role @@ -180,7 +180,7 @@ class JoinCommand "copy" => !@options["no-copy"]) end - def do_copy + def monitor_copying_state @start_time_in_seconds = Time.new.to_i puts("Copying data from the source node...") last_progress = "" -------------- next part -------------- HTML����������������������������...Download