[Groonga-commit] droonga/droonga-engine at 51be3fe [buffered-forward] Output more logs for debugging

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Mar 23 19:58:08 JST 2015


YUKI Hiroshi	2015-03-23 19:58:08 +0900 (Mon, 23 Mar 2015)

  New Revision: 51be3fe82e1491f84615aa7ba68e2ac5f247400c
  https://github.com/droonga/droonga-engine/commit/51be3fe82e1491f84615aa7ba68e2ac5f247400c

  Message:
    Output more logs for debugging

  Modified files:
    lib/droonga/command/remote.rb

  Modified: lib/droonga/command/remote.rb (+3 -2)
===================================================================
--- lib/droonga/command/remote.rb    2015-03-23 19:29:11 +0900 (9886e39)
+++ lib/droonga/command/remote.rb    2015-03-23 19:58:08 +0900 (dbd8767)
@@ -211,15 +211,16 @@ module Droonga
         end
 
         def join_to_cluster
-          log("joining to the cluster: update myself")
-
+          log("joining to the cluster")
           @serf.join(*@other_hosts)
 
+          log("update catalog.json")
           CatalogModifier.modify do |modifier, file|
             modifier.datasets[dataset_name].replicas.hosts += @other_hosts
             modifier.datasets[dataset_name].replicas.hosts.uniq!
             @service_installation.ensure_correct_file_permission(file)
           end
+          log("done")
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index