[Groonga-commit] droonga/droonga-engine at 3cb9997 [master] Make method name more meaningful

アーカイブの一覧に戻る

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: 3cb99979b104d644f5ad97f226f8fb36f9c406ca
  https://github.com/droonga/droonga-engine/commit/3cb99979b104d644f5ad97f226f8fb36f9c406ca

  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 18:10:26 +0900 (42d9f0b)
+++ bin/droonga-engine-join    2015-01-15 17:20:36 +0900 (65ffb83)
@@ -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
@@ -184,7 +184,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����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る